Commit Graph

34491 Commits

Author SHA1 Message Date
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
65fa90894e [core] scan-build: Value stored to 'xcheck_jitter' is never read 2020-03-06 19:38:16 +04:00
Dragos Oancea
165ca28fa1 [core] scan-build: Value stored to 'status' is never read - switch_core_session_write_frame() 2020-03-06 19:36:04 +04:00
Dragos Oancea
60cf5a0a3c [core] scan-build: Value stored to 'ip' is never read - switch_core_media_recover_session() 2020-03-06 19:33:46 +04:00
Dragos Oancea
87ab38d281 [core] scan-build: Value stored to 'pass_fmtp' is never read - switch_core_media_gen_local_sdp() 2020-03-06 19:32:28 +04:00
Dragos Oancea
e6c52efe64 [core] scan-build: Value stored to 'timer_name' is never read - switch_core_media_activate_rtp() 2020-03-06 19:29:52 +04:00
Dragos Oancea
c7eee4ba76 [core] scan-build: Value stored to 'ptime' is never read 2020-03-06 19:28:09 +04:00
lazedo
592689c253
[mod_kazoo] add checks, fixes & defaults
* [mod_kazoo] set default on expand headers

* [mod_kazoo] use simple var reference in default config

* [mod_kazoo] fix kz_expand

* [mod_kazoo] check if profile for agent is valid

* [mod_kazoo] reorder code in kazoo endpoint
2020-03-06 17:56:07 +04:00
Andrey Volk
90a7fc7125
Merge pull request #464 from dragos-oancea/mod_fifo-uninitialized-value
[mod_fifo] scan-build: Function call argument is an uninitialized value, fix dead assignments
2020-03-06 00:58:05 +04:00
Andrey Volk
efc9613d2b
Merge pull request #463 from dragos-oancea/mod_vlc-nullptr-deref
[mod_vlc] scan-build: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'tech_pvt');
2020-03-06 00:55:35 +04:00
Andrey Volk
bd3982d607
Merge pull request #462 from dragos-oancea/mod_amqp-nullptrs
[mod_amqp] scan-build: Multiple dereference of null pointer (loaded from variable 'active')
2020-03-06 00:52:54 +04:00
Andrey Volk
c66c314f57
Merge pull request #461 from dragos-oancea/mod_portaudio-val-never-read
[mod_portaudio] scan-build: Dead assignments
2020-03-06 00:47:38 +04:00
Andrey Volk
368442f638
Merge pull request #459 from signalwire/mod_xml_cdr
[mod_xml_cdr] scan-build: Fix dead assignments.
2020-03-06 00:46:03 +04:00
Andrey Volk
ac328bb2d0
Merge pull request #458 from signalwire/v8
[mod_v8] Fix scan-build warnings.
2020-03-06 00:42:46 +04:00
Andrey Volk
6f24d9b489
Merge pull request #436 from dragos-oancea/mod_redis-potential-memleak
[mod_redis] scan-build: Potential leak of memory pointed to by 'cptr' - cr_morebulk()
2020-03-06 00:40:57 +04:00
Andrey Volk
82b8773f84
Merge pull request #432 from dragos-oancea/mod_rtmp-status--val-never-read
[mod_rtmp] scan-build: Value stored to 'status' is never read - RTMP_INVOKE_FUNCTION(rtmp_i_sendevent)
2020-03-06 00:39:06 +04:00
Andrey Volk
22ed11a49d
Merge pull request #425 from dragos-oancea/mod_rtmp-val-never-read
[mod_rtmp] scan-build: Value stored to 'codec' is never read - rtmp_audio_codec()
2020-03-06 00:36:41 +04:00
Andrey Volk
3fdf1422f7
Merge pull request #473 from signalwire/pooltagondestroy
[Core] Track who calls memory pool destroy.
2020-03-06 00:22:59 +04:00
Andrey Volk
4dc52cfb4b [Core] Track who calls memory pool destroy. 2020-03-05 23:55:03 +04:00
Chris Rienzo
8e0c0df5b6 [core] Fix switch_vad_process() to properly use result of fvad_process(). Fixes #18 2020-03-05 21:16:33 +04:00
Andrey Volk
59551f0fd0
[mod_kazoo] some fixes & enhancements
* [mod_kazoo] address scan-build warnings

* [mod_kazoo] don't use switch_core_session_force_locate

* [mod_kazoo] add loglevel support per event

* [mod_kazoo] add option to serialize as array

* [mod_kazoo] handle verbose fields

* [mod_kazoo] handle _body header field

* [mod_kazoo] ensure raw json is valid

* [mod_kazoo] encode json number

encodes double as unsigned long long if possible

note: file was formatted

* [mod_kazoo] fix tweaks configuration

* [mod_kazoo] move headers to proper place

* to use Target-Node in filtering
  we need to add and then remove it
  since the next node uses the same event
  to build the message

* [mod_kazoo] handle cleanup in new_event_stream

* [mod_kazoo] do not decode _json_ headers

* [mod_kazoo] add kz_cdr event

* fires the event in report state
* adds json serialized parts
  that can be included
  in event message
* moves history funcs from
  kazoo_commands to kazoo_cdr

* [mod_kazoo] format default configuration

* [mod_kazoo] validate bracket creation

* [mod_kazoo] use single fd for kz_http_put

* [mod_kazoo] add uuid to kz_expand
2020-03-05 20:48:40 +04:00
LarryHemenway
6190fa6242
[Core] switch_rtp: update username to allow size specified in STUN RFC 5389 2020-03-04 02:37:14 +04:00
Dragos Oancea
a6d5f46e4a [mod_fifo] scan-build: Function call argument is an uninitialized value, fix dead assignments 2020-02-28 14:55:48 +00:00
Dragos Oancea
3c51052d49 [mod_vlc] scan-build: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'tech_pvt');
Access to field 'pool' results in a dereference of a null pointer (loaded from variable 'acontext')
2020-02-28 14:02:34 +00:00
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
Andrey Volk
695ba877aa
Merge pull request #448 from dragos-oancea/mod_vlc-status-val-never-read-
[mod_vlc] scan-build: Value stored to 'vcontext' is never read - av_init_handle()
2020-02-28 00:48:55 +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
Andrey Volk
3fe3d11100
Merge pull request #457 from dragos-oancea/mod_skinny-garbage-val
[mod_skinny] scan-build: Assigned value is garbage or undefined
2020-02-28 00:33:02 +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