Commit Graph

20827 Commits

Author SHA1 Message Date
Dragos Oancea 51bf0fc51a [core] scan-build: switch_agc_feed() - Division by zero 2019-12-31 00:57:59 +04:00
Dragos Oancea 3d52d2a9ca [core] scan-build: Dead assignment. Value stored to 'p' is never read 2019-12-31 00:57:48 +04:00
Dragos Oancea 459627dee2 [core] scan-build: audio_bridge_thread() - Dead assignment 2019-12-31 00:57:39 +04:00
Dragos Oancea ed991ef153 [core] scan-build: switch_strftime_tz() - Dead assignment 2019-12-31 00:57:29 +04:00
Dragos Oancea cb7db309af [core] scan-build: video_bridge_thread() - Dereference of null pointer 2019-12-31 00:57:19 +04:00
Andrey Volk dd1aab3332 [mod_voicemail] vm_fsdb_msg_email command leaks xml object. 2019-12-31 00:48:01 +04:00
Andrey Volk e4f95f7069 [mod_local_stream] Xml object is leaked on reload when cannot stop local_stream beeing in use. 2019-12-31 00:46:36 +04:00
Andrey Volk 8442218df1 [mod_sofia] sofia_handle_sip_i_invite() leaks xml and event objects on acl_token, sofia_reg_handle_sip_r_challenge() leaks xml object when a user does not have params. 2019-12-31 00:45:00 +04:00
Andrey Volk 5fd6299267 [mod_hiredis] Xml object is not freed on load. 2019-12-31 00:43:24 +04:00
Andrey Volk 05dbd8bd05 [mod_distributor] Fix leak of xml object when no lists in config. 2019-12-31 00:41:19 +04:00
Liyang 4d2f3fc5ec FS-11677: [mod_video_filter] fix memory leak and support replace read/write video of session with a bug
https://freeswitch.org/jira/browse/FS-11677
2019-12-31 00:31:23 +04:00
Liyang 9847a8915f FS-11677: [mod_video_filter] support api/app to replace the write video of session with a bug
https://freeswitch.org/jira/browse/FS-11677
2019-12-31 00:31:08 +04:00
Seven Du fa18a3d0d6 FS-11877 fix regression from FS-11773 27ce89a6a2a
rename callID to sessionCallID since it breaks VC
2019-12-31 00:25:32 +04:00
Seven Du aec1cbd236 FS-11773 add callID to conference private event 2019-12-31 00:25:00 +04:00
Andrey Volk 4eca43bc62 FS-12048: [Core] Fix leak in SQLite (switch_cache_db_execute_sql2str) when queries return a NULL containing field which may result in high memory consumption. 2019-12-31 00:01:23 +04:00
Andrey Volk fc61fcfe60 FS-12050: [Core] Fix DataBase Handle (DBH) cache logic 2019-12-30 23:59:46 +04:00
Andrey Volk e2c1e3a7d3 FS-12055: [mod_sofia] Fix leaks and release profile properly in general_event_handler() and actual_sofia_presence_event_handler() 2019-12-30 23:58:28 +04:00
Andrey Volk b8a18f7d83 FS-12057: [mod_conference] Fix video mute (use of uninitialized pointer) 2019-12-30 23:58:04 +04:00
Seven Du 3f075d30ac FS-12032 remove extra semi colon 2019-12-30 23:57:16 +04:00
Andrey Volk 24e0949844 FS-12056: [mod_sofia] Fix leaking destination in sofia_glue_do_invite() and leaking route in sofia_glue_gen_contact_str() 2019-12-30 23:56:16 +04:00
Dragos Oancea b28eb5ea92 FS-11836: scan-build: Argument with 'nonnull' attribute passed null
FS-11836: scan-build: Dead assignments
2019-12-30 23:55:18 +04:00
Andrey Volk d49d22ff06 [Core] DTMF: Avoid division by zero on low actual_samples_per_second 2019-12-20 00:14:17 +04:00
Andrey Volk 0c90ab01e5
Merge pull request #182 from signalwire/core_fixes
[Core] Fix hard coded dtmf durations based on 8k, fix short-circuit in write timestamp calc
2019-12-19 22:55:03 +04:00
Andrey Volk 52949efc28 [Core] Wait for all EVENT_DISPATCH_QUEUE_THREADS before killing the logging which leaks otherwise. 2019-12-17 21:03:20 +04:00
Anthony Minessale 47c5c8f3e8 [Core] Fix short-circuit in write timestamp calc 2019-12-17 00:37:07 +04:00
Anthony Minessale 7ce50c8bd0 [Core] Fix hard coded dtmf durations based on 8k 2019-12-17 00:36:23 +04:00
Dragos Oancea b124b607d7 [Core] Add PRE_CLOSED flag on file handle, add unit test. 2019-12-05 21:55:46 +04:00
Andrey Volk 5274dd1f9c
Merge pull request #164 from lazedo/kazoo-create_ei_cnode
[mod_kazoo] use globals hostname to create nodename in create_ei_cnode
2019-12-05 00:43:16 +04:00
Andrey Volk a124937f0c [Core] Fix wrong sqldb initialization order causing crash on load. 2019-12-04 19:32:46 +04:00
lazedo ac77de715b [mod_kazoo] use globals hostname to create nodename in create_ei_cnode 2019-12-04 05:58:08 +00:00
lazedo 731b0eb8fd [mod_kazoo] add kz_set_hostname declaration 2019-12-03 23:24:47 +00:00
lazedo 1afad3413b [mod_kazoo] missing call to kz_set_hostname 2019-12-03 21:45:15 +00:00
Andrey Volk b337e77258 [Unit-tests] Fix leaks in mod_test and in switch_core_codec, switch_vpx, switch_xml, switch_ivr_play_say tests. 2019-11-27 21:38:19 +04:00
Andrey Volk 4c434aef1f
[Unit-tests] Fix test framework by telling sqldb to manage handles so they don't leak and are destroyed on shutdown. 2019-11-26 22:54:17 +04:00
Andrey Volk 2865603ad2 [Unit-tests] Fix xml error not finding freeswitch.xml on FST_MINCORE_BEGIN 2019-11-26 01:54:43 +04:00
Ítalo Rossi 3de3ec3b1a [mod_callcenter] Adding SAF_SUPPORT_NOMEDIA to callcenter_track since we don't need media up for it. Also, a small fix to make it compile on OSX. 2019-11-26 01:33:12 +04:00
Andrey Volk 5836b9652b [Unit-tests] Fix test framework leaking on successful checks under setup or teardown mode. Failed checks in these modes are noted and then freed, but not when passed. 2019-11-26 01:05:03 +04:00
Andrey Volk a4f0b2f2a0 [mod_test] Fix OSX build 2019-11-22 00:09:14 +04:00
Seven Du 254fda292a [core] fix shutdown crash when core running with MINIMAL flag 2019-11-21 22:05:43 +04:00
Andrey Volk 66aa064588
Merge pull request #91 from lazedo/event-channel-debug
[core] allow event-channel debugging & single delivery
2019-11-15 23:37:36 +04:00
Andrey Volk f8dc87bd18 [mod_event_socket] Fix "Listener session is null" problem - regression from previous commit to the mod. 2019-11-13 19:28:25 +04:00
Piotr Gregor b0f09fcff2 [mod_avmd] Unlock and close session if adding a media bug fails 2019-11-12 21:29:29 +04:00
Dragos Oancea a2b46bcf10 [core] Do not try to close a file handle if it's not SWITCH_FILE_OPEN, return SWITCH_STATUS_FALSE instead 2019-11-12 03:18:23 +04:00
Andrey Volk a288c3d969
Merge pull request #117 from lazedo/kazoo-ctx
[mod_kazoo] recurse context runtime vars
2019-11-12 01:25:14 +04:00
Dragos Oancea 60746cc07c [mod_tts_commandline, mod_sndfile] fix crash on file not found 2019-11-11 23:02:21 +04:00
Vallimamod Abdullah 7f63483138 [mod_event_socket] Add null pointer checks on listener session and socket 2019-11-11 22:58:18 +04:00
lazedo 3c6d47c293 [mod_kazoo] recurse context runtime vars 2019-11-11 18:09:26 +00:00
Areski Belaid 647ed310e5 [mod_callcenter] Unreserve callcenter events when config errors loading 2019-11-11 20:23:20 +04:00
Andrey Volk 7861ec937e
Merge pull request #64 from cdosoftei/amqp-reconnect
[mod_amqp] open logging and produced connections from within their threads
2019-11-11 20:11:59 +04:00
Andrey Volk 55afe220d3
Merge pull request #71 from cdosoftei/amqp-queue-properties
[mod_amqp] configurable commands queue properties
2019-11-11 20:11:30 +04:00