Commit Graph

34680 Commits

Author SHA1 Message Date
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
Dragos Oancea c78cc7c74b [spandsp] fix memcpy-param-overlap - use memmove() 2020-03-05 18:11:50 +00: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
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