Commit Graph

21106 Commits

Author SHA1 Message Date
Dragos Oancea 746d5c3919 [mod_amqp] scan-build: Multiple dereferences of null pointer (loaded from variable 'active') 2020-02-28 13:45:28 +00:00
Dragos Oancea e182ecb58b [mod_portaudio] scan-build: Dead assignments 2020-02-28 13:22:59 +00:00
Andrey Volk 3ebad97489 [mod_xml_cdr] scan-build: Fix dead assignments. 2020-02-28 03:32:46 +04:00
Andrey Volk 7bbec6611c [mod_v8] Fix scan-build warnings. 2020-02-28 03:13:06 +04:00
Dragos Oancea 23ce45fad8 [mod_vlc] scan-build: Value stored to 'vcontext' is never read - av_init_handle() 2020-02-27 20:47:38 +00:00
Andrey Volk 98b263117d
Merge pull request #449 from dragos-oancea/mod_vlc-null-ptr-derefs
[mod_vlc] scan-build: multiple dereferences of a null pointer
2020-02-28 00:41:05 +04:00
Andrey Volk 0f96cae9ac
Merge pull request #450 from dragos-oancea/mod_fifo-val-never-read
[mod_fifo] scan-build: Value stored to 'arg' is never read - xml_callback()
2020-02-28 00:39:39 +04:00
Andrey Volk 04db956c49
Merge pull request #451 from dragos-oancea/mod_java-val-never-read
[mod_java] scan-build: Value stored to 'status' is never read - create_java_vm()
2020-02-28 00:38:38 +04:00
Andrey Volk fdca16a3b0
Merge pull request #452 from dragos-oancea/mod_java-garbage-val
[mod_java] scan-build: Undefined or garbage value returned to caller - run_dtmf_callback()
2020-02-28 00:37:31 +04:00
Andrey Volk 0594177ee0
Merge pull request #454 from dragos-oancea/mod_redis-nullptr-deref
[mod_redis] scan-build: Dereference of null pointer - cr_delete()
2020-02-28 00:35:51 +04:00
Andrey Volk e731517198
Merge pull request #455 from dragos-oancea/mod_voicemail_ivr-previous_msg-val-never-read
[mod_voicemail_ivr] scan-build: Value stored to 'previous_msg' during its initialization is never read - vmivr_menu_navigator()
2020-02-28 00:34:35 +04:00
Dragos Oancea 6b07fa31a4 [mod_skinny] scan-build: Assigned value is garbage or undefined 2020-02-27 14:02:44 +00:00
Dragos Oancea 68e3b52828 [mod_voicemail_ivr] scan-build: Value stored to 'previous_msg' during its initialization is never read - vmivr_menu_navigator() 2020-02-27 13:52:05 +00:00
Dragos Oancea 40745503a1 [mod_redis] scan-build: Dereference of null pointer - cr_delete() 2020-02-27 12:48:35 +00:00
Dragos Oancea c0f315e0a0 [mod_java] scan-build: Undefined or garbage value returned to caller - run_dtmf_callback() 2020-02-27 12:30:30 +00:00
Dragos Oancea 6179166ec6 [mod_java] scan-build: Value stored to 'status' is never read - create_java_vm() 2020-02-27 12:14:55 +00:00
Dragos Oancea 623b9f60e0 [mod_fifo] scan-build: Value stored to 'arg' is never read - xml_callback() 2020-02-27 12:11:16 +00:00
Dragos Oancea e04c8ee92e [mod_vlc] scan-build: multiple dereferences of a null pointer 2020-02-27 11:50:30 +00:00
Dragos Oancea 1a4748a8d0 [mod_rtmp] scan-build: Value stored to 'codec' is never read - rtmp_audio_codec() 2020-02-27 11:01:46 +00:00
Andrey Volk 2d727b7b31
Merge pull request #444 from signalwire/mod_abstraction
[mod_abstraction] scan-build: Fix dead assignment.
2020-02-27 00:09:12 +04:00
Andrey Volk f90c4b411e
Merge pull request #443 from signalwire/mod_callcenter
[mod_callcenter] scan-build: Fix dead initialization.
2020-02-27 00:07:37 +04:00
Andrey Volk 776ae387ae
Merge pull request #442 from signalwire/mod_cidlookup
[mod_cidlookup] Fix dereference of null pointer and optimize use of pool's memory avoiding double-allocations.
2020-02-27 00:06:27 +04:00
Andrey Volk b0d2ffcaec
Merge pull request #440 from signalwire/mod_rss
[mod_rss] scan-build: Fix dead assignments.
2020-02-27 00:05:05 +04:00
Andrey Volk 21577fcdd2
Merge pull request #439 from dragos-oancea/mod_rtmp-profile-nullptr-deref
[mod_rtmp] scan-build: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'profile') - config_profile()
2020-02-27 00:03:23 +04:00
Andrey Volk baeb11c208
Merge pull request #437 from dragos-oancea/mod_amqp-nullptr-deref
[mod_amqp] scan-build: Dereference of null pointer (loaded from variable 'active') - mod_amqp_connection_open()
2020-02-27 00:01:26 +04:00
Andrey Volk b099d0383d
Merge pull request #441 from signalwire/mod_memcache
[mod_memcache] scan-build: Fix "Uninitialized argument value"
2020-02-26 23:59:24 +04:00
Andrey Volk 0970e392c9
Merge pull request #435 from dragos-oancea/mod_voicemail_ivr-nullptr-arg
[mod_voicemail_ivr] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - SWITCH_STANDARD_APP(voicemail_ivr_function)
2020-02-26 23:57:39 +04:00
Andrey Volk 31c3d10d62
Merge pull request #434 from signalwire/databases
[mod_pgsql,mod_mariadb] Fix scan-build warnings.
2020-02-26 23:55:37 +04:00
Andrey Volk 40251c2cf9
Merge pull request #433 from dragos-oancea/mod_verto-status--val-never-read
[mod_verto] scan-build: Value stored to 'status' is never read - verto_read_text_frame()
2020-02-26 23:53:45 +04:00
Andrey Volk caec8a3054
Merge pull request #431 from dragos-oancea/mod_oreka-linear-frame--val-never-read
[mod_oreka] scan-build: Value stored to 'linear_frame' is never read oreka_audio_callback()
2020-02-26 23:51:50 +04:00
Andrey Volk 1b07e629c5
Merge pull request #430 from dragos-oancea/mod_vlc-vcontext-val-never-read
[mod_vlc] scan-build: Value stored to 'vcontext' is never read - vlc_file_av_open()
2020-02-26 23:49:32 +04:00
Andrey Volk 996daffb40
Merge pull request #429 from dragos-oancea/mod_erlang_event-nullptr-deref
[mod_erlang_event] scan-build: Access to field 'rwlock' results in a dereference of a null pointer (loaded from variable 'listener')
2020-02-26 23:47:56 +04:00
Andrey Volk 815f26ec15
Merge pull request #428 from dragos-oancea/mod_skinny-val-never-read
[mod_skinny] scan-build: Value stored to 'profile' is never read - channel_outgoing_channel()
2020-02-26 23:46:49 +04:00
Andrey Volk 0359a36a79
Merge pull request #427 from dragos-oancea/mod_verto-nullptr-arg
[mod_verto] scan-build: Null pointer argument in call to string comparison function - http_run()
2020-02-26 23:45:09 +04:00
Andrey Volk 4bb96f4bcd
Merge pull request #426 from signalwire/mod_json_cdr
[mod_json_cdr] scan-build: Fix dead assignments.
2020-02-26 23:43:37 +04:00
Andrey Volk 827c160fb2
Merge pull request #424 from signalwire/mod_odbc_cdr
[mod_odbc_cdr] scan-build: Fix dereference of null pointer and a dead assignment.
2020-02-26 23:42:07 +04:00
Andrey Volk 01985cf5cf
Merge pull request #423 from signalwire/mod_imagick
[mod_imagick] Remove unused variable.
2020-02-26 23:40:50 +04:00
Andrey Volk e3e4326b63
Merge pull request #422 from signalwire/mod_png
[mod_png] Remove unused variable.
2020-02-26 23:39:28 +04:00
Andrey Volk b75a42728d
Merge pull request #421 from signalwire/mod_portaudio_stream
[mod_portaudio_stream] scan-build: Fix dead assignment.
2020-02-26 23:37:54 +04:00
Andrey Volk 462e946320
Merge pull request #419 from dragos-oancea/mod_unimrcp-val-never-read
[mod_unimrcp] scan-build: Value stored to 'lname' is never read - audio_queue_create()
2020-02-26 23:36:18 +04:00
Andrey Volk 22e0beefad
Merge pull request #418 from signalwire/mod_python
[mod_python] scan-build: Fix "Argument with 'nonnull' attribute passed null"
2020-02-26 23:32:20 +04:00
Andrey Volk e475c67b2d
Merge pull request #417 from signalwire/say
[mod_say_xx] Fix multiple dead assignments
2020-02-26 23:28:55 +04:00
Andrey Volk 395afbefaa
Merge pull request #416 from dragos-oancea/mod_amr-nullptr-deref
[mod_amr] scan-build: Array access (from variable 'tocs') results in a null pointer dereference - switch_amr_unpack_oa()
2020-02-26 23:27:25 +04:00
Andrey Volk 2d354257bc
Merge pull request #415 from dragos-oancea/mod_amr-build-val-never-read
[mod_amr] scan-build: Value stored to 'ft' is never read - switch_amr_unpack_be()
2020-02-26 23:19:42 +04:00
Saurabh 26b95eea75
[mod_httapi] Introduction of connect-timeout param 2020-02-26 23:08:21 +04:00
Andrey Volk c6d050d87d [mod_abstraction] scan-build: Fix dead assignment. 2020-02-26 17:02:26 +04:00
Andrey Volk f113efd7ae [mod_callcenter] scan-build: Fix dead initialization. 2020-02-26 16:53:21 +04:00
Andrey Volk 949fcbabe1 [mod_cidlookup] Fix dereference of null pointer and optimize use of pool's memory avoiding double-allocations. 2020-02-26 16:12:32 +04:00
Andrey Volk 69c8b06112 [mod_memcache] scan-build: Fix "Uninitialized argument value" 2020-02-26 15:26:25 +04:00
Andrey Volk 0e8e4fff7d [mod_rss] scan-build: Fix dead assignments. 2020-02-26 14:48:30 +04:00
Dragos Oancea cec9e173d7 [mod_rtmp] scan-build: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'profile') - config_profile() 2020-02-25 23:55:11 +00:00
Dragos Oancea 89555c2151 [mod_amqp] scan-build: Dereference of null pointer (loaded from variable 'active') - mod_amqp_connection_open() 2020-02-25 22:09:33 +00:00
Dragos Oancea b53274276f [mod_redis] scan-build: Potential leak of memory pointed to by 'cptr' - cr_morebulk() 2020-02-25 22:04:01 +00:00
Dragos Oancea 8fdda68018 [mod_voicemail_ivr] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - SWITCH_STANDARD_APP(voicemail_ivr_function) 2020-02-25 21:49:09 +00:00
Andrey Volk 456a7fa8cc [mod_pgsql,mod_mariadb] Fix scan-build warnings. 2020-02-26 01:48:40 +04:00
Dragos Oancea ba0221ff09 [mod_verto] scan-build: Value stored to 'status' is never read - verto_read_text_frame() 2020-02-25 21:45:38 +00:00
Dragos Oancea f99eecdd03 [mod_rtmp] scan-build: Value stored to 'status' is never read - RTMP_INVOKE_FUNCTION(rtmp_i_sendevent) 2020-02-25 21:42:20 +00:00
Dragos Oancea d1d42dab71 [mod_oreka] scan-build: Value stored to 'linear_frame' is never read - oreka_audio_callback() 2020-02-25 21:37:57 +00:00
Dragos Oancea fa49e46bb7 [mod_vlc] scan-build: Value stored to 'vcontext' is never read - vlc_file_av_open() 2020-02-25 21:34:16 +00:00
Dragos Oancea 1ccd75c94b [mod_erlang_event] scan-build: Access to field 'rwlock' results in a dereference of a null pointer (loaded from variable 'listener') 2020-02-25 21:30:10 +00:00
Dragos Oancea 40c7d62c42 [mod_skinny] scan-build: Value stored to 'profile' is never read - channel_outgoing_channel() 2020-02-25 21:24:36 +00:00
Andrey Volk 05a7914b8e [mod_json_cdr] scan-build: Fix dead assignments. 2020-02-26 01:18:45 +04:00
Dragos Oancea 0ad909aec7 [mod_verto] scan-build: Null pointer argument in call to string comparison function - http_run() 2020-02-25 21:18:44 +00:00
Andrey Volk 39453fbcdc [mod_odbc_cdr] scan-build: Fix dereference of null pointer and a dead assignment. 2020-02-26 00:58:51 +04:00
Andrey Volk e8c4de5b48 [mod_imagick] Remove unused variable. 2020-02-26 00:45:19 +04:00
Andrey Volk adef812266 [mod_png] Remove unused variable. 2020-02-26 00:37:39 +04:00
Andrey Volk d767976167 [mod_portaudio_stream] scan-build: Fix dead assignment. 2020-02-26 00:28:05 +04:00
Seven Du 6decc21669 [core] fix sdp parsing on invalid sdp 2020-02-26 00:17:55 +04:00
Dragos Oancea 828605fe4d [mod_unimrcp] scan-build: Value stored to 'lname' is never read - audio_queue_create() 2020-02-25 20:16:16 +00:00
Andrey Volk d331e5947c [mod_python] scan-build: Fix "Argument with 'nonnull' attribute passed null" 2020-02-26 00:15:28 +04:00
Andrey Volk d63676405f [mod_say_xx] Fix multiple dead assignments 2020-02-25 23:53:45 +04:00
Dragos Oancea 0c2873e726 [mod_amr] scan-build: Array access (from variable 'tocs') results in a null pointer dereference - switch_amr_unpack_oa() 2020-02-25 17:51:09 +00:00
Dragos Oancea a07c0447f0 [mod_amr] scan-build: Value stored to 'ft' is never read - switch_amr_unpack_be() 2020-02-25 17:38:15 +00:00
Andrey Volk f9cafeb7a8 [Core] Fix crash when parsing some uncommon SDP attributes 2020-02-25 01:40:52 +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
Dragos Oancea c6f5869474 [core] scan-build: Function call argument is an uninitialized value - switch_xml_set_attr() 2020-02-21 07:00:18 +00:00
Andrey Volk 09b40e052f
Merge pull request #387 from signalwire/mod_dptools_leak
[mod_dptools] scan-build: Fix "Potential leak of memory pointed to by 'head'"
2020-02-19 20:15:15 +04:00
Andrey Volk d9b63859a1 [mod_dptools] scan-build: Fix "Potential leak of memory pointed to by 'head'" 2020-02-19 19:54:29 +04:00
Andrey Volk 1c2aff0feb [mod_hash] scan-build: Fix "Potential leak of memory pointed to by 'item'". 2020-02-19 19:37:09 +04:00
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 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 36a528f9a7 [Core] Fix potential leak of hash table keys. 2020-02-16 00:07:13 +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 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