Commit Graph

34342 Commits

Author SHA1 Message Date
Andrey Volk 10aad69e1b
Merge pull request #347 from dragos-oancea/switch_ivr_async-status-val-never-read
[core] scan-build: Value stored to 'status' is never read - switch_ivr_eavesdrop_session()
2020-02-16 02:07:37 +04:00
Andrey Volk 4594fb9209
Merge pull request #373 from signalwire/switch_loadable_module
[Core] scan-build: Fix possible dereference of null pointer in switch_loadable_module_sort_codecs()
2020-02-16 01:49:39 +04:00
Andrey Volk dea8086cc6
Merge pull request #372 from signalwire/switch_core_video
[Core] scan-build: Fix "Result of operation is garbage or undefined" in switch_color_yuv2rgb()
2020-02-16 01:44:01 +04:00
Andrey Volk 7a3605e984
Merge pull request #371 from signalwire/switch_log
[Core] scan-build: Fix "The result of the '<<' expression is undefined" in switch_log_str2mask().
2020-02-16 01:31:59 +04:00
Andrey Volk 0171e18657 [Core] scan-build: Fix possible dereference of null pointer in switch_loadable_module_sort_codecs() 2020-02-16 01:30:31 +04:00
Andrey Volk 8cee6230e3 [Core] scan-build: Fix "Result of operation is garbage or undefined" in switch_color_yuv2rgb() 2020-02-16 01:23:40 +04:00
Andrey Volk 0d3ee4b2ae
Merge pull request #370 from signalwire/core_dead_assignments
[Core] Fix various dead assignments.
2020-02-16 01:18:48 +04:00
Andrey Volk 46ca31314c [Core] scan-build: Fix "The result of the '<<' expression is undefined" in switch_log_str2mask(). 2020-02-16 01:14:44 +04:00
Andrey Volk c3ee0c17cb [Core] Fix various dead assignments. 2020-02-16 00:59:37 +04:00
Andrey Volk 9f2d044ca5
Merge pull request #369 from signalwire/custom_hash_leak
[Core] Fix possible leak of the subclass variable in CUSTOM_HASH'es switch_event_reserve_subclass_detailed().
2020-02-16 00:51:34 +04:00
Andrey Volk 688bdadd58
Merge pull request #368 from signalwire/core_hash
[Core] Fix potential leak of hash table keys.
2020-02-16 00:33:19 +04:00
Andrey Volk 2c6480a99e
Merge pull request #342 from dragos-oancea/switch_ivr_play_say-last-speed-val-never-read
[core] scan-build: Value stored to 'last_speed' is never read - switch_ivr_play_file()
2020-02-16 00:31:55 +04:00
Andrey Volk 8dd27183f8 [Core] Fix possible leak of the subclass variable in CUSTOM_HASH'es switch_event_reserve_subclass_detailed(). 2020-02-16 00:29:38 +04:00
Andrey Volk d32e7f1973
Merge pull request #367 from signalwire/libnatpmp
[libnatpmp] scan-build: The left operand of '!=' is a garbage value
2020-02-16 00:08:46 +04:00
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