Commit Graph

34578 Commits

Author SHA1 Message Date
Andrey Volk 36a528f9a7 [Core] Fix potential leak of hash table keys. 2020-02-16 00:07:13 +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 2495b94332
Merge pull request #366 from signalwire/verto-http-crash
[mod_verto] fix crash on vhost http server requests without content type
2020-02-15 22:58:46 +04:00
Mike Jerris 39ff576097 [mod_verto] fix crash on vhost http server requests without content type 2020-02-15 13:40:00 -05:00
Dragos Oancea c0b833fe74 [core] scan-build: Value stored to 'status' is never read - switch_ivr_eavesdrop_session() 2020-02-15 18:10:26 +00:00
Andrey Volk 3edf08bfb2
Merge pull request #365 from signalwire/apr_typo
[apr] Fix typo in network_io/unix/sendrecv.c made by previous commit
2020-02-15 13:47:13 +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 32f636c723
Merge pull request #364 from signalwire/apr_network
[apr] scan-build: Fix dereference of a null pointer and unused variable in network_io/unix
2020-02-15 12:40:38 +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 fb9f7aa170
Merge pull request #363 from signalwire/apr_strings
[apr] Fix dead assignment and use of uninitialized variable in strings.
2020-02-15 02:46:17 +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 c99149adc7
Merge pull request #362 from signalwire/apr
[apr] scan-build: fix use of unassigned values in file_io/unix
2020-02-15 01:51:34 +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 0d29633e23
Merge pull request #361 from dragos-oancea/switch_time-tzname-val-never-read
[core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz()
2020-02-14 21:04:04 +04:00
Andrey Volk 9c5f2109cb
Merge pull request #343 from dragos-oancea/switch_core_state_machine-val-never-read
[core] scan-build: Value stored to 'midstate' during its initialization is never read - switch_core_session_hangup_state()
2020-02-14 21:02:19 +04:00
Andrey Volk 95fe3cbdc0
Merge pull request #351 from dragos-oancea/switch_xml-lcont-val-never-read
[core] scan-build: Value stored to 'lcount' is never read - switch_xml_toxml_r()
2020-02-14 20:58:41 +04:00
Andrey Volk 0724039b20
Merge pull request #353 from signalwire/mod_hash
[mod_hash] Fix use of remote's hash table after free.
2020-02-14 20:57:11 +04:00
Dragos Oancea b4a591dcd2 [core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz() 2020-02-14 16:55:02 +00:00
Andrey Volk 465890fcb9
Merge pull request #356 from dragos-oancea/switch_ivr_async-echo-val-never-read
[core] scan-build: Value stored to 'status' is never read - switch_ivr_session_echo()
2020-02-14 20:50:41 +04:00
Andrey Volk e7651bd90d
Merge pull request #357 from dragos-oancea/switch_ivr_bridge-status-val-never-read
[core] scan-build: Value stored to 'status' is never read - audio_bridge_thread()
2020-02-14 20:49:07 +04:00
Andrey Volk 463e1c180e
Merge pull request #360 from dragos-oancea/switch_event-nullptr-passed
[core] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - switch_event_base_add_header()
2020-02-14 20:43:45 +04:00
Dragos Oancea 39cc48904d [core] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - switch_event_base_add_header() 2020-02-14 15:53:16 +00: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 3d0b3a51d8
Merge pull request #358 from signalwire/apr_sha2
[apr] Scan-build: Fix multiple dead assignments in sha2.c
2020-02-14 18:49:54 +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 5378eae101
Merge pull request #355 from dragos-oancea/switch_loadable_module-val-never-read-
[core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build_dynamic()
2020-02-14 01:39:15 +04:00
Andrey Volk e4ea0dc230
Merge pull request #354 from dragos-oancea/switch_msrp-val-never-read
[core] scan-build: Value stored to 'q' during its initialization is never read - msrp_parse_headers()
2020-02-14 01:37:34 +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 cb9188c957
Merge pull request #350 from dragos-oancea/switch_vpx-pid-val-never-read
[core] scan-build: Value stored to 'pid' is never read - buffer_vp9_packets()
2020-02-14 00:30:16 +04: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 b8510c33ca
Merge pull request #346 from dragos-oancea/switch_ivr_originate-myflags-val-never-read
[core] scan-build: Value stored to 'myflags' during its initialization is never read - switch_ivr_originate()
2020-02-14 00:20:23 +04:00
Andrey Volk 21e0bb2394
Merge pull request #345 from dragos-oancea/switch_time-time_sync-val-never-read
[core] scan-build: Value stored to 'time_sync' is never read - softtimer_runtime()
2020-02-14 00:13:18 +04:00
Andrey Volk 270e06c50d
Merge pull request #344 from dragos-oancea/switch_ivr_menu-val-never-read
[core] scan-build: Value stored to 'status' is never read - switch_ivr_menu_execute()
2020-02-14 00:10:33 +04:00
Dragos Oancea 786f6f8a08 [core] scan-build: Value stored to 'last_speed' is never read - switch_ivr_play_file() 2020-02-13 20:10:32 +00:00
Andrey Volk 04717a5fb8 [mod_hash] Fix use of remote's hash table after free. 2020-02-13 23:55:18 +04:00
Dragos Oancea f120c24698 [core] scan-build: Value stored to 'status' is never read - audio_bridge_thread() 2020-02-13 19:11:35 +00:00
Dragos Oancea 4e8c70e33b [core] scan-build: Value stored to 'status' is never read - switch_ivr_session_echo() 2020-02-13 19:08:21 +00:00
Dragos Oancea d9550b6169 [core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build_dynamic() 2020-02-13 19:00:40 +00:00
Dragos Oancea 063c6f9884 [core] scan-build: Value stored to 'q' during its initialization is never read - msrp_parse_headers() 2020-02-13 18:56:07 +00:00
Andrey Volk 068f4c8524 [sofia-sip] Fix multiple issues reported by scan-build. 2020-02-13 21:11:18 +04:00
Dragos Oancea f4881c957e [core] scan-build: Value stored to 'pid' is never read - buffer_vp9_packets() 2020-02-13 12:18:54 +00:00
Dragos Oancea fde2f685e7 [core] scan-build: Value stored to 'lcount' is never read - switch_xml_toxml_r() 2020-02-13 12:12:01 +00:00
Andrey Volk 53c110ec51
Merge pull request #341 from signalwire/sofia_sdp
[sofia-sip] Fix sdp_session_cmp(), add test. Scan-build: Fix multiple dereferences of null pointer.
2020-02-13 03:11:10 +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
Dragos Oancea 0e6a15419d [core] scan-build: Value stored to 'myflags' during its initialization is never read - switch_ivr_originate() 2020-02-12 21:49:43 +00:00
Dragos Oancea 7e0ba182cc [core] scan-build: Value stored to 'time_sync' is never read - softtimer_runtime() 2020-02-12 21:44:50 +00:00