Commit Graph

35223 Commits

Author SHA1 Message Date
Andrey Volk
f21da2885b [mod_verto] Add hack.diff to mcast's swig 2021-10-19 20:39:34 +03:00
Andrey Volk
bd7b76bacf [Core] Add new switch_core_hash_insert_pointer(switch_hash_t *hash, const void *data) API to be able to insert data into a hash with an auto-generated key based on the data pointer. Cleanup switch_loadable_module_process() to not generate hash keys for stored events itself. Add unit-test. 2021-10-19 20:35:12 +03:00
Andrey Volk
e14df00aa6 [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_html_strip() 2021-10-19 20:35:11 +03:00
Andrey Volk
67048377c4 [Core] Fix possible dereference of null pointer in switch_ivr_originate() and switch_ivr_enterprise_originate() 2021-10-19 20:35:10 +03:00
Andrey Volk
4b03a47a7f [Core] Fix dereference of null pointer in switch_ivr_wait_for_answer() 2021-10-19 20:35:10 +03:00
Dragos Oancea
af095ebb68 [core] scan-build: Dereference of null pointer (loaded from variable 'flags') 2021-10-19 20:35:09 +03:00
Andrey Volk
77c8557aa7 [mod_managed] Fix Windows build 2021-10-19 20:34:45 +03:00
Andrey Volk
dca7940fb9 [Core] scan-build: Use of zero allocated in switch_xml_str2utf8() 2021-10-19 20:30:18 +03:00
Andrey Volk
c35a3bb4db [Core] scan-build: fix false-positive memory leak in switch_xml_set_attr_d and switch_xml_set_attr_d_buf 2021-10-19 20:30:18 +03:00
Andrey Volk
781180ff48 [Core] scan-build: memory leak in switch_xml_user_cache() 2021-10-19 20:30:17 +03:00
Andrey Volk
e30c62f8ec [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_xml_internal_dtd() 2021-10-19 20:30:17 +03:00
Andrey Volk
6726922e34 [mod_sofia] scan-build: Dereference of null pointer in sofia_handle_sip_i_bye(), sofia_handle_sip_i_invite() and our_sofia_event_callback() 2021-10-19 20:30:15 +03:00
Andrey Volk
ac1a3dc565 [mod_sofia] scan-build: Argument with 'nonnull' attribute passed null 2021-10-19 20:26:53 +03:00
Andrey Volk
86a075da56 [mod_sofia] scan-build: Fix dereference of null pointer in sofia_outgoing_channel(). 2021-10-19 20:26:53 +03:00
Andrey Volk
51ef2f261a [libvpx] scan-build: Assigned value is garbage or undefined 2021-10-19 20:26:52 +03:00
Andrey Volk
92a55cf85a [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_loadable_module_load_module_ex() 2021-10-19 20:26:52 +03:00
Andrey Volk
1b048a8a97 [Core, mod_hash] Add two APIs switch_core_hash_insert_alloc_destructor and switch_core_hash_insert_dup_destructor. Code cleanup in mod_hash. Add unit-tests. 2021-10-19 20:26:50 +03:00
Andrey Volk
f92368d2f2 [mod_xml_ldap] Move all memory allocations into the mod's pool so it does not leak on shutdown. Fix leaking xml_ldap_search(). 2021-10-19 20:24:10 +03:00
Andrey Volk
9a491fb8f8 [mod_say_pl] Fix potential memory leak in pl_say_ip() 2021-10-19 20:24:09 +03:00
Andrey Volk
4ab8936a0e [mod_v8] Fix false-positive memory leak detected in process_status_function() by scan-build 2021-10-19 20:24:09 +03:00
Andrey Volk
0e96038d21 [mod_lua] scan-build: Called C++ object pointer is null (Dbh_test_reactive) 2021-10-19 20:24:09 +03:00
Andrey Volk
3abccb4b4f [mod_kazoo] Fix leaking stream in kz_event_expand_headers_check() 2021-10-19 20:24:06 +03:00
Andrey Volk
ccd2174fb5 [mod_kazoo] Remove wrong usage of switch_safe_strdup() causing leaks in kazoo_tweaks 2021-10-19 20:19:26 +03:00
Andrey Volk
31c10fac22 [mod_kazoo] scan-build: Argument with 'nonnull' attribute passed null in kz_endpoint_outgoing_channel() 2021-10-19 20:19:26 +03:00
Andrey Volk
f82c1f04c5 [iksemel] Fix memory leak 2021-10-19 20:19:25 +03:00
Andrey Volk
7713a2470d [libdingaling] Fix memory leaks 2021-10-19 20:19:25 +03:00
Andrey Volk
322191a2f4 [mod_dialplan_xml] Fix possible use after free in parse_exten() 2021-10-19 20:19:25 +03:00
Andrey Volk
bb150bc486 [mod_spandsp] scan-build: Argument with 'nonnull' attribute passed null in udptl_rx_packet() 2021-10-19 20:15:59 +03:00
Andrey Volk
e4ec2e1043 [mod_spandsp] scan-build: Argument with 'nonnull' attribute passed null in modem_init() 2021-10-19 20:15:58 +03:00
Andrey Volk
e42ebbb33f [Core] scan-build: Fix false-positive use-after-free in switch_xml_free_attr(). Add unit test. 2021-10-19 20:15:58 +03:00
Andrey Volk
95fb8c7773 [Core] Fix crash on removing xml attributes. Add unit test. 2021-10-19 20:15:57 +03:00
Andrey Volk
65bc81d239 [libvpx] scan-build: fix false-positive dereference of null pointer 2021-10-19 20:15:57 +03:00
Andrey Volk
b59c28bdbd [Core] scan-build: fix false-positive use-after-free in switch_xml_internal_dtd() 2021-10-19 20:10:35 +03:00
Andrey Volk
d6884d6871 [apr] scan-build: Dereference of null pointer in apr_hash_merge() 2021-10-19 20:10:35 +03:00
Andrey Volk
cba582cf4a [mod_sofia] Fix multiple issues in sofia_presence.c found by scan-build. 2021-10-19 20:10:35 +03:00
Andrey Volk
fa0e616592 [libyuv] Disable scan-build warnings. 2021-10-19 20:10:34 +03:00
Andrey Volk
758f3e7075
Merge pull request #1262 from signalwire/opus
[mod_opusfile] Improvements.
2021-10-15 22:17:39 +03:00
Dragos Oancea
0cf323c339 [mod_opusfile] unit-tests: add timer to fix random failures due to the fact that the decoding callback is not installed immediatelly 2021-10-15 16:52:06 +03:00
Dragos Oancea
97a0b0fbae [mod_opusfile] protect ogg data buff 2021-10-15 16:52:06 +03:00
Dragos Oancea
37ab323c13 [mod_opusfile] add ogg/opus streams, fix Makefile for encoding.
[mod_opusfile] add stats, opusctl

[mod_opusfile] add unit-test using teletone
2021-10-15 16:52:06 +03:00
Andrey Volk
a61c9dca50
Merge pull request #1380 from inoutglobal/master
[daylight saving]- Fixs wrong daylight saving
2021-10-15 16:41:41 +03:00
Kevin Garabedian
f8d8e740cc [core] play_and_collect_input() - suppress digit timer if start of speech is detected 2021-10-14 23:45:38 +03:00
Andrey Volk
e9fde845de [mod_cv] Replace deprecated definitions and update configure.ac to check renamed opencv4.pc on Debian Bullseye. 2021-10-14 23:29:30 +03:00
Andrey Volk
2505b45134 [mod_skinny, mod_cdr_mongodb, mod_rayo] Fix Debian 11 build warnings. 2021-10-14 23:29:06 +03:00
Andrey Volk
46efa0cdb8 [Build-System] Add Bullseye to the Debian packaging 2021-10-14 23:28:38 +03:00
Andrey Volk
a4603c7cb8 [Packaging] Fix a conflict between freeswitch-mod-python and freeswitch-mod-python3 Debian packages 2021-10-14 23:27:59 +03:00
Andrey Volk
54becc8d28 [mod_python3] Remove deprecated calls. 2021-10-14 23:27:33 +03:00
Andrey Volk
e44fd2ea38 [mod_python3, ESL py3mod] Add Python3 support. 2021-10-14 23:26:36 +03:00
Edson Lopes Filho
dae624441b
[daylight saving]- Fixs wrong daylight saving
Fix wrong daylight saving on America/Sao_Paulo Timezone. There is no more Daylight Savings in Sao Paulo.
2021-10-13 13:13:09 -03:00
Andrey Volk
3a66eb415f
Merge pull request #1370 from dragos-oancea/sendRTCPEvent
[Core] Add SEND_RTCP_MESSAGE event and a unit-test.
2021-10-05 01:47:57 +03:00