Michael Jerris
85317633dc
build: fix gcc-4.4.0 build failures (FSCORE-355)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 20:25:59 +00:00
Michael Jerris
931cc46305
fix PTHREAD_MUTEX_RECURSIVE detection on SUSE 10
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:49:53 +00:00
Michael Jerris
ed9ddb3c56
Tue May 19 12:00:30 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid.c: Solaris misdefines PTHREAD_ONCE_INIT
Ignore-this: 9fe2247164d572901ed4a30b009353db
Solaris defines pthread_once_t as a struct containing an array. The
initializer PTHREAD_ONCE_INIT needs two levels of brackets it but only has
one. Original patch from Mike Jerris <mike@jerris.com>.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:25:08 +00:00
Michael Jerris
c60535e7a8
Tue May 19 12:00:30 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid.c: Solaris misdefines PTHREAD_ONCE_INIT
Ignore-this: 9fe2247164d572901ed4a30b009353db
Solaris defines pthread_once_t as a struct containing an array. The
initializer PTHREAD_ONCE_INIT needs two levels of brackets it but only has
one. Original patch from Mike Jerris <mike@jerris.com>.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:23:16 +00:00
Michael Jerris
c923f7a1f9
fix PTHREAD_MUTEX_RECURSIVE detection on SUSE 10
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 16:47:09 +00:00
Michael Jerris
09b2fd335a
Fri May 15 11:31:44 CDT 2009 Michael Jerris <mike@jerris.com>
...
* sdp_print.c: build errors fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 14:46:38 +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
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
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
Michael Jerris
672e48f8c8
Tue May 12 11:52:32 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: always clean and remove INVITE client request in nua_invite_client_ack()
Ignore-this: bdace77be7b43629b591f5adf7315341
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:50:43 +00:00
Michael Jerris
25fe8c3a4b
Tue May 12 11:38:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* auth_common.c::auth_get_params(): added missing va_end()
Ignore-this: 43f33c9e069f4b80c35bab09bec7f925
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13323 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:49:34 +00:00
Michael Jerris
ca2c46d4bf
Tue May 12 11:08:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: do not free transaction in reliable_timeout() if caused by failure to send final response
Ignore-this: 8e32f83925b6f2a3629afbb8b20ba693
Issue detected by Coverity.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:47:55 +00:00
Michael Jerris
f05ec55879
Tue May 12 14:59:28 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* soa_static.c: include media formats in rejected m= line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:46:27 +00:00
Michael Jerris
0e45cc850f
Tue May 12 11:05:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua: NUTAG_AUTOACK(0) is now obeyed always when media is disabled
Ignore-this: c5960a8330904eae5a1428158e4498c7
If media is enabled, stack autoacks 2XX responses to re-INVITEs unless
NUTAG_AUTOACK(0) is set on handle.
Also documenting NUTAG_AUTOACK() behaviour with re-INVITEs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13320 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:45:39 +00:00
Michael Jerris
7e1d02d8a9
Tue May 12 12:08:51 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: ensure that re-INVITEs have correct Session-Expires parameters
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:44:40 +00:00
Michael Jerris
0d3db88c5b
Tue May 12 12:08:13 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: include Session-Expires to session refresh requests
Thanks for Linus Surguy for reporting the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:43:28 +00:00
Michael Jerris
3f4f728974
Wed Apr 29 13:03:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* tport: close half-closed idle connections on windows, too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:42:25 +00:00
Michael Jerris
5d21a6e4b2
update to spandsp-0.0.6pre12
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 21:52:52 +00:00
Anthony Minessale
7585c4fafc
add checks to find issue in FSCORE-338
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 18:30:50 +00:00
Anthony Minessale
52630045aa
temp solution to assert
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 17:36:44 +00:00