Commit Graph

1184 Commits

Author SHA1 Message Date
CAUCA 9-1-1 770ed14f44
[sofia-sip] Add urn: scheme support to sofia. (#445)
As an effort to support NENA i3 specs for NG 9-1-1, this adds support
for INVITE URI appearing as urn:service:sos to request for emergency services.

Reference for URN support in RFC 6061 https://tools.ietf.org/html/rfc6061
2020-05-12 22:58:33 +04:00
Andrey Volk 323c10d34b [sofia-sip] Timed out or not established wss should be destroyed immediately and avoid keep-alive functionality. 2020-05-12 00:04:47 +04:00
Andrey Volk 2dced93d94 [sofia-sip] Build internal tests 2020-05-07 03:19:16 +04:00
Andrey Volk 84a20addc8 [sofia-sip] Fix crash in timer B outgoing_timer_bf() which asserts if INVITE request was completed already. 2020-05-07 03:07:20 +04:00
Mike Jerris 39892e05a7 [sofia-sip] fix build on newer clang 2020-05-07 03:03:37 +04:00
Andrey Volk 40ba118936 [sofia-sip] Fix use of deprecated CRYPTO_set_id_callback(). 2020-05-07 03:02:08 +04:00
Andrey Volk 93ce1a371a [sofia-sip] Sip crash on unresolvable dns resolution error of outbound request. 2020-03-16 22:38:47 +04:00
Andrey Volk 72869f13f6 [sofia-sip] Fix out-of-bounds write in sres_sofia_update(). 2020-02-25 02:09:27 +04:00
Andrey Volk 3a3f7957aa [sofia-sip] scan-build: Fix "Dereference of null pointer" in outgoing_answer_srv(). 2020-02-20 22:44:51 +04:00
Andrey Volk d438e1e547 [sofia-sip] Fix Out-of-bound array access warning: String copy function overflows destination buffer in nua_stack_event() 2020-02-20 20:13:07 +04:00
Andrey Volk 022efe3388 [sofia-sip] Guard `if` in sres_record_compare() and fix braces in sres_resolver_receive(). 2020-02-20 19:49:56 +04:00
Andrey Volk 6318798f54 [sofia-sip] scan-build: Fix dereference of null pointer in outgoing_query_results(). 2020-02-20 02:54:13 +04:00
Andrey Volk 27e4a872c5 [sofia-sip] scan-build: Fix "Result of operation is garbage or undefined" in sres_log_response() 2020-02-20 01:47:54 +04:00
Andrey Volk a2f544cf7f [sofia-sip] scan-build: Fix "The left operand of '<' is a garbage value" (prefs) in outgoing_naptr_tport() of nta.c 2020-02-17 14:36:48 +04:00
Andrey Volk f56d5d56ef [sofia-sip] scan-build: Fix "Called function pointer is null (null dereference)" in t_filter() of su_taglist.c 2020-02-16 04:06:37 +04:00
Andrey Volk 068f4c8524 [sofia-sip] Fix multiple issues reported by scan-build. 2020-02-13 21:11:18 +04:00
Andrey Volk fe65102738 [sofia-sip] Fix sdp_session_cmp(), add test. Scan-build: Fix multiple dereferences of null pointer. 2020-02-13 02:52:09 +04:00
Andrey Volk 75904672fb
Merge pull request #333 from dragos-oancea/sofia-sip_extra-val_never_read
[sofia-sip] scan-build: Value stored to 'ci' during its initialization is never read - sip_info_d()
2020-02-12 22:46:39 +04:00
Andrey Volk 801cb5813f
Merge pull request #332 from dragos-oancea/sofia-tport-null-ptr
[sofia-sip] scan-build: Access to field 'ai_addr' results in a dereference of a null pointer (loaded from variable 'res')
2020-02-12 22:42:46 +04:00
Andrey Volk 7e205a4a40
Merge pull request #331 from dragos-oancea/sofia-sdp_zone-cmp-val-never-read
[sofia-sip] scan-build: Access to field 'z_number_of_adjustments' results in a dereference of a null pointer (loaded from variable 'a')
2020-02-12 22:38:51 +04:00
Andrey Volk adc637fda2
Merge pull request #326 from dragos-oancea/sofia-nua_session-val-never-read
[sofia-sip] scan-build: Value stored to 'invite_timeout' is never read - nua_invite_client_request()
2020-02-12 22:32:31 +04:00
Andrey Volk 4581d7bf13
Merge pull request #330 from dragos-oancea/sofia-sdp_val-never-read--
[sofia-sip] scan-build: Access to field 'c_nettype' results in a dereference of a null pointer (loaded from variable 'a')
2020-02-12 22:23:16 +04:00
Andrey Volk 989e7964c3
Merge pull request #329 from dragos-oancea/sofia-nta-now_val-never-read
[sofia-sip] scan-build: Value stored to 'now' during its initialization is never read - _nta_incoming_timer()
2020-02-12 22:15:51 +04:00
Andrey Volk 92a87119bc
Merge pull request #328 from dragos-oancea/sofia-nua_register-val-never_read-
[sofia-sip] scan-build: Value stored to 's' during its initialization is never read - nua_handle_contact_by_via()
2020-02-12 22:11:25 +04:00
Andrey Volk d791dbb376
Merge pull request #327 from dragos-oancea/sofia-iptsec-val-never-read
[sofia-sip] scan-build: Value stored to 'phrase' is never read - auth_check_digest()
2020-02-12 22:08:52 +04:00
Dragos Oancea f72d755487 [sofia-sip] scan-build: Value stored to 'invite_timeout' is never read - nua_invite_client_request() 2020-02-12 17:57:40 +00:00
Dragos Oancea c1adea0f49 [sofia-sip] scan-build: Value stored to 'ci' during its initialization is never read - sip_info_d() 2020-02-12 01:49:43 +00:00
Dragos Oancea 356a403a17 [sofia-sip] scan-build: Access to field 'ai_addr' results in a dereference of a null pointer (loaded from variable 'res') 2020-02-12 01:39:18 +00:00
Dragos Oancea d8cddaf4e9 [sofia-sip] scan-build: Access to field 'z_number_of_adjustments' results in a dereference of a null pointer (loaded from variable 'a') 2020-02-12 01:29:25 +00:00
Dragos Oancea 602eaeb169 [sofia-sip] scan-build: Access to field 'c_nettype' results in a dereference of a null pointer (loaded from variable 'a') 2020-02-12 01:24:58 +00:00
Dragos Oancea 1149e63462 [sofia-sip] scan-build: Value stored to 'now' during its initialization is never read - _nta_incoming_timer() 2020-02-12 00:59:04 +00:00
Dragos Oancea 846b5efbf3 [sofia-sip] scan-build: Value stored to 's' during its initialization is never read - nua_handle_contact_by_via() 2020-02-12 00:55:12 +00:00
Dragos Oancea 828a668458 [sofia-sip] scan-build: Value stored to 'phrase' is never read - auth_check_digest() 2020-02-12 00:49:17 +00:00
Dragos Oancea fa7e679b20 [sofia-sip] scan-build: Assigned value is garbage or undefined - outgoing_naptr_tport() 2020-02-11 23:30:55 +00:00
Andrey Volk 3217ff14c6
Merge pull request #301 from dragos-oancea/sofia-soa-nullptr
[sofia-sip] scan-build: Access to field 'c_address' results in a dereference of a null pointer (loaded from variable 'c'
2020-02-12 00:52:28 +04:00
Andrey Volk 816a963893
Merge pull request #300 from dragos-oancea/sofia-nua_stack-nullptr
[sofia-sip] scan-build: Access to field 'nh_destroyed' results in a dereference of a null pointer (loaded from variable 'nh')
2020-02-12 00:49:42 +04:00
Andrey Volk a00424aba1
Merge pull request #298 from dragos-oancea/sofia-sip_extra-val-never-read
[sofia-sip] scan-build: Value stored to 'end' during its initialization is never read - sip_info_d()
2020-02-12 00:43:48 +04:00
Andrey Volk f538095423
Merge pull request #297 from dragos-oancea/sofia-nta_val-never-read
[sofia-sip] scan-build: Value stored to 'tport' is never read - incoming_retransmit_reply()
2020-02-12 00:40:34 +04:00
Andrey Volk 356ed56047
Merge pull request #296 from dragos-oancea/sofia-nua_register-val-never-read
[sofia-sip] scan-build: Value stored to 'contacts' is never read - nua_register_client_request()
2020-02-12 00:38:34 +04:00
Andrey Volk 31f92ddc8d
Merge pull request #295 from dragos-oancea/sofia-msg_parser-val-never-read
[sofia-sip] scan-build: Value stored to 'rest' is never read - msg_extract_payload()
2020-02-12 00:37:00 +04:00
Andrey Volk 92a2785349
Merge pull request #294 from dragos-oancea/sofia-tport_type_tcp-val-never-read
[sofia-sip] scan-build: Value stored to 'why' is never read - tport_tcp_ping()
2020-02-12 00:35:33 +04:00
Andrey Volk 22ad46487a
Merge pull request #293 from dragos-oancea/sofia-tport_tls-val-never-read
[sofia-sip] scan-build: Value stored to 'options' is never read - tls_init_context()
2020-02-12 00:32:34 +04:00
Andrey Volk 4539ebc985
Merge pull request #289 from dragos-oancea/sofia-nta-val-undefined
[sofia-sip] scan-build: Assigned value is garbage or undefined - outoing_naptr_tport()
2020-02-12 00:30:33 +04:00
Dragos Oancea 118b26578c [sofia-sip] scan-build: Access to field 'c_address' results in a dereference of a null pointer (loaded from variable 'c') 2020-01-31 23:17:08 +00:00
Dragos Oancea df5333ed6f [sofia-sip] scan-build: Access to field 'nh_destroyed' results in a dereference of a null pointer (loaded from variable 'nh') 2020-01-31 23:11:40 +00:00
Dragos Oancea 3aac1f8d55 [sofia-sip] scan-build: Value stored to 'end' during its initialization is never read - sip_info_d() 2020-01-31 21:47:07 +00:00
Dragos Oancea 043b23bd28 [sofia-sip] scan-build: Value stored to 'tport' is never read - incoming_retransmit_reply() 2020-01-31 21:43:11 +00:00
Dragos Oancea 0f6d976eb0 [sofia-sip] scan-build: Value stored to 'contacts' is never read - nua_register_client_request() 2020-01-31 21:39:51 +00:00
Dragos Oancea a550adb0c6 [sofia-sip] scan-build: Value stored to 'rest' is never read - msg_extract_payload() 2020-01-31 21:35:30 +00:00
Dragos Oancea f22340c776 [sofia-sip] scan-build: Value stored to 'why' is never read - tport_tcp_ping() 2020-01-31 21:32:22 +00:00