15619 Commits

Author SHA1 Message Date
Nick Lemberger
4fa0870ef0 [mod_sofia] Fix potential buffer overrun when rewrite_multicasted_fs_path is enabled. 2020-04-01 00:11:24 +04:00
lazedo
343f031915 [mod_kazoo] add event stream connected time 2020-03-24 10:54:16 +00:00
Jourdan Templeton
5805addbeb
[mod_sofia] Add new gateway param 'contact-in-ping' to support for Microsoft Teams Direct Routing 2020-03-23 23:29:53 +04:00
Nathan Neulinger
477086b3e2
[mod_mariadb] Fix reconnect during db failover/restart 2020-03-23 20:55:00 +04:00
Andrey Volk
d07e1654a2 [mod_verto] Fix scan-build warnings in swig and enable scan-build on Drone 2020-03-22 14:14:14 +04:00
Andrey Volk
d67d09705a [mod_verto] Fix Makefile.am and reswig 2020-03-22 01:35:58 +00:00
Andrew Topp
dbea1482e7 [mod_xml_curl] Allow XML_CURL_MAX_BYTES to be configured at runtime per-binding
* Added "response-max-bytes" config param for mod_xml_curl
* XML_CURL_MAX_BYTES still used as default if param omitted
* Added example configuration to module example config.
2020-03-15 14:05:53 +10:00
lazedo
3a0ee19f5b
[mod_kazoo] maintenance
* [mod_kazoo] add configured sleep time between each io fault

* [mod_kazoo] add configured delay  before fetching initial configuration

* [mod_kazoo] add explicit handling of http_cache for kz_moh
2020-03-13 20:19:21 +04:00
lazedo
1f268e0292
[mod_kazoo] maintenance
* [mod_kazoo] add kz_eval api

* [mod_kazoo] use session if available in first-of

* [mod_kazoo] handle bridge variables

* [mod_kazoo] allow time for erlang node to initialize

* [mod_kazoo] add kz_moh

* tries to start moh from previous unhold
2020-03-13 01:44:19 +04:00
Andrey Volk
06f905de9d
Merge pull request #484 from dragos-oancea/mod_amrwb-fixleak-xml
[mod_amrwb] fix memory leak at load time (xml)
2020-03-12 21:06:44 +04:00
Andrey Volk
dd9092abe9
Merge pull request #483 from dragos-oancea/mod_amr-fixleak-xml
[mod_amr] fix memory leak at load time (xml)
2020-03-12 21:05:23 +04:00
Andrey Volk
da4068e744
Merge pull request #482 from dragos-oancea/mod_portaudio-nullptr
[mod_portaudio] scan-build: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'previous').
2020-03-12 21:03:50 +04:00
Andrey Volk
d1ab723582
Merge pull request #479 from dragos-oancea/mod_erlang_event-uninitialized-value
[mod_erlang_event] scan-build: Function call argument is an uninitialized value
2020-03-12 20:24:29 +04:00
Andrey Volk
51cc971d45
Merge pull request #478 from dragos-oancea/mod_redis-undefined-val
[mod_redis] scan-build: Assigned value is garbage or undefined
2020-03-12 20:22:43 +04:00
Andrey Volk
396d07c1a3
Merge pull request #476 from dragos-oancea/mod_unimrcp-nullptr
[mod_unimrcp] scan-build: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'mod_profile')
2020-03-12 20:21:20 +04:00
Andrey Volk
abe3aea117
Merge pull request #475 from dragos-oancea/mod_skinny_vals-never-read
[mod_skinny] scan-build: Dead assignments
2020-03-12 19:28:06 +04:00
Ítalo Rossi
87a64eab18
[mod_verto] Setting transfer_disposition to recv_replace on aleg 2020-03-12 19:23:40 +04:00
Andrey Volk
64da1fd098
Merge pull request #477 from dragos-oancea/mod_verto-cur-val-never-read
[mod_verto] scan-build: Value stored to 'cur' is never read
2020-03-10 22:56:10 +04:00
Dragos Oancea
e2e6d13cd8 [mod_amrwb] fix memory leak at load time (xml) 2020-03-06 15:08:29 +00:00
Dragos Oancea
d0502b405e [mod_amr] fix memory leak at load time (xml) 2020-03-06 15:00:33 +00: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
Dragos Oancea
0b5c7307a7 [mod_portaudio] scan-build: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'previous').
Value stored to 'codec_ms' is never read.
2020-03-06 13:40:03 +00:00
Dragos Oancea
731d8f027e [mod_erlang_event] scan-build: Function call argument is an uninitialized value 2020-03-06 11:47:16 +00:00
Dragos Oancea
389a917998 [mod_redis] scan-build: Assigned value is garbage or undefined 2020-03-06 11:17:03 +00:00
Dragos Oancea
56e82bd9c0 [mod_verto] scan-build: Value stored to 'cur' is never read 2020-03-06 11:09:29 +00:00
Dragos Oancea
480aff54e4 [mod_unimrcp] scan-build: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'mod_profile') 2020-03-06 11:04:01 +00:00
Dragos Oancea
e821be1c18 [mod_skinny] scan-build: Dead assignments 2020-03-05 23:54:19 +00:00
Dragos Oancea
3e3445d06c [mod_cv] scan-build: Null pointer passed as an argument to a 'nonnull' parameter.
Access to field 'shape_scale' results in a dereference of a null pointer.
Dead assignments.
2020-03-05 23:42:50 +00: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
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
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
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