Commit Graph

10438 Commits

Author SHA1 Message Date
Michael Jerris 70b42ccb75 fix small memory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-18 14:56:09 +00:00
Brian West 5450f4dc2a MODAPP-254
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-18 14:09:49 +00:00
Michael Jerris 9736ae5df4 JANITOR-1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-18 14:02:38 +00:00
Anthony Minessale 22a7caf5b1 copy flags too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 22:16:41 +00:00
Michael Jerris ad51e11d00 fix mod_file_string dependencies on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 22:05:59 +00:00
Michael Jerris 420e92a6f3 silence solaris warning from missing braces (SFSIP-132)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:21:06 +00:00
Michael Jerris 5cd8bf0e42 build: add new files to debian package build (FSBUILD-148)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13368 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:15:49 +00:00
Michael Jerris 95950660b3 Add mod_file_string to build + misc cleaning and correction (FSBUILD-158)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13367 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:10:48 +00:00
Michael Jerris 383ff711d2 cleanup msvc code analysis warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:07:18 +00:00
Raymond Chandler ceae13acc0 MODAPP-279
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 20:03:17 +00:00
Michael Jerris cc8ed5b18f remove broken code analysis test
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13364 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 19:40:23 +00:00
Michael Jerris 2ac2fa8659 Allow to send the flush/reboot all the registration of a domain (MODENDP-187)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 19:36:43 +00:00
Michael Jerris 21159328e7 add configure checks for tm->tm_gmtoff and tm->tm_zone (FSBUILD-160)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13362 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 18:19:30 +00:00
Michael Jerris e2760c6fbe ensure vasprintf is available on linux (FSBUILD-160)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 18:10:59 +00:00
Michael Jerris 59f59859b5 use uint16_t instead of u_short (FSBUILD-160)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13360 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 17:55:53 +00:00
Michael Jerris 25357ca0e8 setgroup/initgroup availability on linux (FSBUILD-160)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13359 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 17:50:37 +00:00
Michael Jerris d9e27370fe ensure vasprintf is available on linux (FSBUILD-160)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13358 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 17:44:47 +00:00
Michael Jerris 9bd37dfecc MODENDP-219
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13357 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 17:07:07 +00:00
Michael Jerris 4e53f0d08d the price you pay for TLS it seems
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13356 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 17:04:53 +00:00
Michael Jerris 1d4861c982 fix typos
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:27:26 +00:00
Michael Jerris 0dbb31daab Thu May 14 13:05:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: clarify outgoing_ack() logic
  Ignore-this: a745b3e7df63835d9768ec9dc3d5c5b2
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:19:19 +00:00
Michael Jerris 61c23ee5d1 Wed May 13 13:39:29 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_stack_ack(), nua_invite_client_ack(): cleaned code
  Ignore-this: 9edf1594e20f27f4e2effb43c83858ea
    
  Fixed clean-up after ACK.
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:18:10 +00:00
Michael Jerris d15df2001d Wed May 13 13:33:21 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: use unsigned lenghts with m_get_string() and m_get_domain()
  Ignore-this: 7b09dd7d26a10dabb645156563c0cd6c
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:17:09 +00:00
Michael Jerris 9aac7fc9c0 Wed May 13 13:21:12 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-date.c: not using uninit data.
  Ignore-this: 48751cc510886e42e23e48c535a869bc
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:16:35 +00:00
Michael Jerris 5f5732c0aa Wed May 13 13:20:54 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-dig.c: fixed crash on bad param
  Ignore-this: 9e73dd7095a51d15e5bc6f00e8aab98c
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:15:58 +00:00
Michael Jerris 28af3accb9 Wed May 13 13:18:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_mclass_insert_header(): not using uninit data
  Ignore-this: 40a6993391b5f2993af8ee01c407c0c7
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:15:28 +00:00
Michael Jerris 6774ad7083 Wed May 13 13:08:11 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres_resolver_new_with_cache_va(): added missing va_end()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:33 +00:00
Michael Jerris 966e462e8c Wed May 13 13:07:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nea_server.c: check params in nea_event_tcreate()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:01 +00:00
Michael Jerris 935a1433d6 Wed May 13 13:02:06 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_parser_util.c: fixed msg_unquoted_e()
  Ignore-this: 78b9afb6e97ff730d7924d860ef33921
  
  Now accepts NULL buffer with nonzero size.
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:13:20 +00:00
Michael Jerris be1650e4ea Wed May 13 12:35:38 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta_incoming_create_response(): sanitized oom check


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13345 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:12:41 +00:00
Michael Jerris 469bc4789a Wed May 13 12:14:18 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_event_server.c: free temp strings
  Ignore-this: 18b592f7d6ae942a48cd117f7a6f3c31
    
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:11:57 +00:00
Michael Jerris 71f7c7ff11 Wed May 13 12:04:15 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_update_server_report(): fix bugs checking pending INVITEs in fake precondition handling
  Ignore-this: dc67f6287bf48aa8e2a39e2ece96821
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:10:38 +00:00
Michael Jerris af88f6c68d Wed May 13 12:03:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sdp_print(): correctly handle NULL session
  Ignore-this: 206a9027d6dfb73371d7f0ddac5f640b
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:09:49 +00:00
Michael Jerris 8937b3a4e1 Wed May 13 11:37:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg: unobfuscated casts of msg_header_t



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:09:12 +00:00
Michael Jerris ae9f6cc6d1 Wed May 13 11:18:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_header_copy.c: unobfuscated msg_default_dup_one()
  Ignore-this: 1fda1941baecad1f6397de453e606f1c
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:07:59 +00:00
Michael Jerris 6e1af87d26 Wed May 13 11:09:06 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip_parser.c: fixed overrrun in sip_method_name()
  Ignore-this: efe0fc0935451b1b0ee403befac5df40
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:07:05 +00:00
Michael Jerris 763c520d49 Wed May 13 11:07:04 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-dig.c: fixed buffer overrun
  Ignore-this: d8776bd28ef951602449e87d80dc20e7
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:06:43 +00:00
Michael Jerris 52bcb7b396 Wed May 13 11:00:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
* auth_client.c: removed leak in auc_digest_authorization()
  Ignore-this: 9b0297083b6c6ce1bf9ef3d723b01f3b
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:05:59 +00:00
Michael Jerris 4c3b2bc4b5 Wed May 13 10:50:41 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg: fixed possible leak in msg_params_d() with more than 16 params
  Ignore-this: a45ef326def7b1bcd14de4850f3c24ab
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:05:15 +00:00
Michael Jerris 6f7641f94a Wed May 13 05:14:56 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: better checking of IP6 addresses
  Ignore-this: 49f502ccaaf771abed1e5b2d00eaa8b8
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:04:28 +00:00
Michael Jerris de69d8ea95 Wed May 13 04:19:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
* outbound.c: logging string after freeing it.
  Ignore-this: 78c744681a08302beaa01b3752bd5f43
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:03:45 +00:00
Michael Jerris 0c6a2d6105 Tue May 12 14:58:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_soa: check larger sessions
  Ignore-this: fac46a2328bc0db501cd98e7a67309c0


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:03:07 +00:00
Michael Jerris 4d2219a4c2 Tue May 12 14:57:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
* soa_static.c: avoid overrun of arrays in soa_sdp_upgrade()
  Ignore-this: 9f7eae37e7d97c509a2797363b03c54a
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:02:34 +00:00
Michael Jerris 61c7a110b2 Tue May 12 13:23:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: do not use out-of-scope array in tport_deliver()
  Ignore-this: a651d5eb213850d9dfd317102a432f8e
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13331 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:01:31 +00:00
Michael Jerris 9a38d3da7d Tue May 12 13:17:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: check input in nta_leg_by_uri()
  Ignore-this: f149ac04b5e1bf078c3b00e837738301
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13330 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:00:17 +00:00
Michael Jerris 1a9705a7b6 Tue May 12 13:13:16 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_client.c: removed extra NULL check from nua_client_request_complete()
  Ignore-this: cc1f1fb7bf8e4ae07f965846418410a
  
  Coverity issue 7310.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:59:02 +00:00
Michael Jerris a0b8810d89 Tue May 12 13:07:45 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: check dialog usage before using it in nua_update_server_respond()
  Ignore-this: 543e8d6d999a5a4d54600f1dbdfb1444
  
  Coverity issue 7312.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:57:37 +00:00
Michael Jerris 0106f699e6 Tue May 12 13:04:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_udp.c: tport_check_trunc() cleaned code
  Ignore-this: b39558360afb657325a4615d0919baaa
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:54:54 +00:00
Michael Jerris 27c334d8e0 Tue May 12 13:00:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: removed dead code from process_prack()
  Ignore-this: 325e40cbba4e6933aa1681d6862533f
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:53:31 +00:00
Michael Jerris 584ae7db64 Tue May 12 11:57:49 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: doublecheck invite client transaction
  Ignore-this: 4236b668c99e6e0d72a7889ce6cdf671
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:52:14 +00:00