Commit Graph

8070 Commits

Author SHA1 Message Date
Andrey Volk 3556119fde [libesl] Fix leak of esl_event_header_t in esl_event_base_add_header(). Code cleanup. 2021-02-17 22:56:10 +03:00
Anthony Minessale 6837661658 [libvpx] add yield to vpx 2021-01-12 10:57:43 -07:00
Andrey Volk 940d82ef9b [Build-System] Fix build with MSBuild. 2020-12-23 00:11:37 +04:00
Andrey Volk fb14eef2b4 [build] Add missing checks to libvpx build system for macOS 11. 2020-12-16 02:49:46 +04:00
cdosoftei 611377d40b
[apr] fix find_if_index for BSDs/mac 2020-09-21 11:50:09 -04:00
Andrey Volk 97c4bfcc85
Merge pull request #773 from signalwire/spandsp
[Build-System] Remove SpanDSP library from the FreeSWITCH tree and use packages instead.
2020-08-05 03:27:52 +04:00
Andrey Volk 231d5e6494 [Build-System] Remove SpanDSP library from the FreeSWITCH tree and use packages instead. 2020-08-04 19:15:28 -04:00
Mike Jerris 1e1d4866f0 [build] detect system installed sofia-sip using PKG_CONFIG_PATH 2020-08-04 13:16:50 -04:00
Andrey Volk 2fc0e3b80a [Build-System] Remove Sofia-Sip library from the FreeSWITCH tree and use packages instead. 2020-08-03 23:46:45 +04:00
Andrey Volk d4547e6151 [Sofia-Sip] Add various accessors and helpers to nua. 2020-08-03 21:32:35 +04:00
ROBERT MCDOWELL f7f493b2fd
[esl] Fix typo in fs_cli.c 2020-06-24 18:07:42 +04:00
Andrey Volk 0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
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 0b2da6f2d7
Merge pull request #472 from dragos-oancea/spandsp-memcpy-param-overlap
[spandsp] fix memcpy-param-overlap - use memmove()
2020-03-12 19:26:35 +04:00
Andrey Volk 88ee4182d8 [libvpx] scan-build: Fix "Result of operation is garbage or undefined" in vp9/encoder/vp9_rd.c 2020-03-06 21:54:34 +04:00
Andrey Volk 653835efe0 [libvpx] scan-build: Fix "Assigned value is garbage or undefined" in vpx_post_proc_down_and_across_mb_row_c() 2020-03-06 21:52:27 +04:00
Dragos Oancea 4e78f63847 [libvpx] scan-build: Division by zero - measure_square_diff_partial() 2020-03-06 21:51:03 +04:00
Andrey Volk 9c70b0229a [libvpx] scan-build: Fix "Dereference of null pointer" in vp8_peek_si_internal 2020-03-06 21:47:12 +04:00
Andrey Volk 1e9786b8ec [libvpx] Fix pthread configure checks: "Null pointer passed as an argument to a 'nonnull' parameter" 2020-03-06 21:45:53 +04:00
Andrey Volk 36aa4cc2c6 [libvpx] Fix typo in Windows project file. 2020-03-06 21:15:04 +04:00
Anthony Minessale 1b1c66aae4 [libyuv] Update to hash ea23edfb from https://chromium.googlesource.com/libyuv/libyuv/ 2020-03-06 21:14:55 +04:00
Andrey Volk 6175c55b2f [Build-System] Fix Windows build after libvpx update. 2020-03-06 21:14:46 +04:00
Anthony Minessale 37dd951079 [libvpx] Fix threading. 2020-03-06 21:14:26 +04:00
Anthony Minessale 6233e256bb [libvpx] Revert format patch 2020-03-06 21:14:15 +04:00
Anthony Minessale ceb051af4e [libvpx] Update to v1.8.1 from https://chromium.googlesource.com/webm/libvpx 2020-03-06 21:14:07 +04:00
Andrey Volk 34fcadbd53 Revert "[libvpx] scan-build: Fix "Dereference of null pointer" in vp8_peek_si_internal"
This reverts commit 4b971dff75.
2020-03-06 21:13:50 +04:00
Dragos Oancea c78cc7c74b [spandsp] fix memcpy-param-overlap - use memmove() 2020-03-05 18:11:50 +00: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 5e5fd214b5 [iksemel, libdingaling] scan-build: fix multiple dead assignments and dereference of null pointer 2020-02-22 01:48:43 +04:00
Andrey Volk 5082454c45 [mod_dingaling] scan-build: fix multiple dead assignments and dereference of null pointer. 2020-02-22 00:46:10 +04:00
Andrey Volk 30e5cc314a [apr-util] scan-build: Fix "Assigned value is garbage or undefined" in unknown_toUtf8 2020-02-21 21:28:41 +04:00
Andrey Volk e39eb28629 [apr] scan-build: fix dereference of null pointer in apr_hash_merge() and apr_proc_other_child_unregister() 2020-02-20 23:20:53 +04:00
Andrey Volk d3c4cf3d62
Merge pull request #396 from signalwire/nta_weight
[sofia-sip] scan-build: Fix "Dereference of null pointer" in outgoing_answer_srv().
2020-02-20 23:04:25 +04:00
Andrey Volk 8dd1e1be23 [spandsp] scan-build: Fix "Result of operation is garbage or undefined" in rpe_grid_selection() 2020-02-20 22:53:34 +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 7b708c2c77
Merge pull request #394 from signalwire/sres
[sofia-sip] Guard `if` in sres_record_compare() and fix braces in sres_resolver_receive().
2020-02-20 20:08: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
Dragos Oancea 1d3fcd6864 [spandsp] scan-build: Array subscript is undefined - test_cadence() 2020-02-20 09:57:12 +00: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 05377622af [apr] scan-build: Fix "Argument with 'nonnull' attribute passed null" in file_io/unix/filepath.c 2020-02-20 00:16:37 +04:00
Andrey Volk 148e02bc67 [srtp] scan-build: Fix dead assignments. 2020-02-19 21:14:02 +04:00
Andrey Volk 23fc0a5f76
Merge pull request #375 from signalwire/vpx_dereference
[libvpx] scan-build: Fix "Dereference of null pointer" in vp8_peek_si_internal
2020-02-19 20:06:04 +04:00
Andrey Volk 3a7d96f04b [apr] Fix potential dereference of a null pointer when apr_pool_create_ex() is called without both an allocator and a parent while global_pool is uninitialized. 2020-02-19 14:38:56 +04:00
Dragos Oancea 0cb4e193f6 [core] scan-build: Function call argument is an uninitialized value - sig_tone_rx() 2020-02-17 21:39:44 +00: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 4b971dff75 [libvpx] scan-build: Fix "Dereference of null pointer" in vp8_peek_si_internal 2020-02-17 00:50:54 +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 ebab867710 [libnatpmp] scan-build: The left operand of '!=' is a garbage value 2020-02-15 23:51:29 +04:00
Andrey Volk fba60251a2 [apr] Fix typo in network_io/unix/sendrecv.c made by previous commit 2020-02-15 13:27:41 +04:00
Andrey Volk df52479eb4 [apr] scan-build: Fix dereference of a null pointer and unused variable in network_io/unix 2020-02-15 03:49:05 +04:00
Andrey Volk 5b63e4d045 [apr] Fix dead assignment and use of uninitialized variable in strings. 2020-02-15 02:22:36 +04:00
Andrey Volk 2db40835c5 [apr] scan-build: fix use of unassigned values in file_io/unix 2020-02-15 01:33:50 +04:00
Andrey Volk 944041fb46
Merge pull request #359 from signalwire/apr_util
[apr-util] Fix issues reported by scan-build.
2020-02-14 18:56:50 +04:00
Andrey Volk a7cdf35b60 [apr-util] Fix issues reported by scan-build. 2020-02-14 18:39:15 +04:00
Andrey Volk 19aabde9c5 [apr] Scan-build: Fix multiple dead assignments in sha2.c 2020-02-14 02:51:32 +04:00
Andrey Volk 25fc9fc6dc
Merge pull request #352 from signalwire/sofia_scanbuild
[sofia-sip] Fix multiple issues reported by scan-build.
2020-02-14 01:29:16 +04:00
Andrey Volk 8044d5a6e3
Merge pull request #349 from dragos-oancea/spandsp-at-nullptr
[spandsp] scan-build: Dereference of null pointer - at_put_response()
2020-02-14 01:08:40 +04:00
Dragos Oancea d1f751eb8e [spandsp] scan-build: Dereference of null pointer - at_put_response() 2020-02-13 20:57:39 +00:00
Andrey Volk 06aad5f558
Merge pull request #348 from dragos-oancea/spandsp-t4_tx-res--val-never-read
[spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format()
2020-02-14 00:27:20 +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
Dragos Oancea e9afc81cb1 [spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format() 2020-02-12 22:14:12 +00:00
Andrey Volk fd4f181519
Merge pull request #340 from dragos-oancea/spandsp-super_tone_rx-undefined
[spandsp] scan-build: The left operand of '>' is a garbage value - super_tone_chunk()
2020-02-12 22:58:19 +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 2b6b925ea6 [spandsp] scan-build: The left operand of '>' is a garbage value - super_tone_chunk() 2020-02-12 10:30:20 +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 1b66e76548
Merge pull request #309 from dragos-oancea/spandsp-gsm_val-never-read
[core] scan-build: Value stored to 'EM' is never read - rpe_grid_selection()
2020-02-12 01:04:04 +04:00
Andrey Volk 7c14be2b63
Merge pull request #308 from dragos-oancea/spandsp-t4_tx-val-never-read
[spandsp] scan-build: Value stored to 'result' is never read - read_tiff_t85_image()
2020-02-12 01:02:32 +04:00
Andrey Volk dbceb95b1a
Merge pull request #306 from dragos-oancea/spandsp-super_tone_rx-div_by_zero
[spandsp] scan-build: Division by zero - test_cadence()
2020-02-12 01:00:49 +04: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