Commit Graph

35741 Commits

Author SHA1 Message Date
Andrey Volk dd3075a203 [Core] Fix Windows build after apr-util removal 2022-08-29 20:17:12 +03:00
Chris Rienzo 85d25e269b [core] use fspr prefixed symbols instead of apr 2022-08-29 20:17:10 +03:00
Chris Rienzo 5c2726f413 [core] rename lib apr symbols to fspr 2022-08-29 20:17:08 +03:00
Chris Rienzo 3c7e8ff989 [core] remove unimrcp from tree 2022-08-29 20:17:06 +03:00
Chris Rienzo 01c1e74f36 [core] remove libdingaling from tree 2022-08-29 20:17:04 +03:00
Chris Rienzo 9468ff746a [core] remove apr-util from tree 2022-08-29 20:17:02 +03:00
Andrey Volk c1a9e98e83
Merge pull request #1778 from signalwire/testendstab
[Unit-tests] Improve stability of some tests.
2022-08-29 16:36:41 +03:00
Andrey Volk 23eeb4ae75 [Unit-tests] Improve stability of some tests. 2022-08-28 13:24:43 +03:00
agree 767b163cbd [mod_sofia] Fix PRESENCE_PROBE firing on rejection
After rejecting the subscription for authentication the function calls goto end. In the end block freeswitch fires PRESENCE_PROBE events and releases the allocated memory
* when rejecting a call for auth PRESENCE_PROBE should not get fired
* This caused all other subscribers to the same entity to get flooded with NOTIFY's because `call_id` only gets set later in the function, so when firing the PRESENCE_PROBE without `call_id` being set all subscriptions will get a notify
* this can be considered a security flaw as any unauthorized user can send
SUBSCRIBES and trigger thousands of NOTIFY's to the SUBSCRIBED endpoints

This was fixed simply my moving down the end label after the code that
sends the PRESENCE_PROBE event
2022-08-26 18:09:34 -04:00
Andrey Volk 56fc995325
Merge pull request #1776 from signalwire/fake
[Unit-tests] Add --enable-fake-dlclose to .drone.yml
2022-08-26 23:26:10 +03:00
Andrey Volk 4d9c71e2ec [Unit-tests] Add --enable-fake-dlclose to .drone.yml 2022-08-26 22:47:54 +03:00
Andrey Volk 67513c3ec3
Merge pull request #1775 from signalwire/void
[Core] Fix wrong switch_odbc_skip_autocommit_flip function declaration.
2022-08-26 22:11:07 +03:00
Andrey Volk 060a65601b [Core] Fix wrong switch_odbc_skip_autocommit_flip function declaration. 2022-08-26 21:47:45 +03:00
Andrey Volk 2b8f59e8ff
Merge pull request #1773 from signalwire/autocommit
[Core] ODBC: Add odbc-skip-autocommit-flip switch param.
2022-08-26 20:21:23 +03:00
Andrey Volk 06f95acd35
Merge pull request #1774 from signalwire/nullcmp
[mod_sofia] Unit-test: Fix strcmp null argument.
2022-08-26 19:32:19 +03:00
Andrey Volk 9f5c2a1619 [mod_sofia] Unit-test: Fix strcmp null argument. 2022-08-26 16:21:01 +03:00
Andrey Volk a1d2f83104 [Core] ODBC: Add odbc-skip-autocommit-flip switch param. 2022-08-25 20:14:47 +03:00
Ruslan a8dee4b2ff
[mod_conference] file descriptor stays open
Solution: don't even start to play file if conference is not running.

Co-authored-by: Ruslan Andronov <randronov@outlook.com>
2022-08-23 18:07:55 +03:00
agree f538fd3d7b [mod_say_en] change epoch to 64 bit int
handle time after 2038-01-18 22:14:07
2022-08-21 01:16:36 -04:00
Andrey Volk db3dd53aa6
Merge pull request #1751 from signalwire/scanbuild11
[Testing] Enable scan-build 11 on Drone CI
2022-08-10 01:09:01 +03:00
Andrey Volk 372182fc8b [Testing] Enable scan-build 11 on Drone CI 2022-08-10 00:19:40 +03:00
Andrey Volk 1e5e3216d8 [mod_conference] Fix dead nested assignments 2022-08-10 00:18:18 +03:00
Andrey Volk cd86de2f1f [mod_av] Fix dead nested assignments 2022-08-10 00:17:03 +03:00
Andrey Volk f3c7c4d445 [Core] scan-build: Fix false-positive bad free by switch_must_realloc() in switch_xml_proc_inst() 2022-08-10 00:15:45 +03:00
Andrey Volk 716a21b0b5 [mod_callcenter] Fix dead nested assignments in cc_config_api_function 2022-08-10 00:14:36 +03:00
Andrey Volk 19a7debc1b [mod_sofia] Fix dead nested assignments 2022-08-10 00:13:18 +03:00
Andrey Volk 884917cb11 [mod_xml_scgi] Fix dead initialization in mod_xml_scgi_shutdown() 2022-08-10 00:11:58 +03:00
Andrey Volk 1f9305098d [mod_xml_ldap] Fix potential memory leaks in xml_ldap_search() 2022-08-10 00:10:47 +03:00
Andrey Volk d38d83339d [mod_say_hr,hu,pl,sv] Fix dead nested assignments 2022-08-10 00:09:28 +03:00
Andrey Volk 1c83a92b7d [mod_video_filter] Fix dead nested assignments 2022-08-10 00:07:52 +03:00
Andrey Volk b6264e264c [mod_enum] Fix dead nested assignments 2022-08-10 00:03:52 +03:00
Andrey Volk 688984f8b9 [mod_dptools] Fix dead nested assignments. 2022-08-09 23:48:29 +03:00
Andrey Volk c062f85e16 [mod_commands] Fix dead nested assignments 2022-08-09 23:44:56 +03:00
Andrey Volk fa6d0c4157 [iksemel] Fix potential memory leak in iksroster 2022-08-09 23:41:10 +03:00
Andrey Volk d8c3595076 [apr] Fix dead nested assignments 2022-08-09 23:39:32 +03:00
Andrey Volk 6ef22a6f7d [mod_v8] Fix dead nested assignments 2022-08-09 23:35:13 +03:00
Andrey Volk 01844013a0 [mod_sofia] Fix potential memory leak in sofia_reg_handle_sip_r_challenge() 2022-08-09 23:33:21 +03:00
Andrey Volk 56b6e954cf [Core] Fix dead nested assignments 2022-08-09 23:29:31 +03:00
Andrey Volk 1499acac9d [libvpx] scan-build: avoid dereference of null pointer 2022-08-09 23:26:13 +03:00
Andrey Volk b9b0b00912 [libvpx] scan-build: prevent division by zero in vpx_int_pro_row_c() 2022-08-09 23:24:47 +03:00
Andrey Volk c47c16b1dd Fix dead nested assignments in various modules 2022-08-09 23:20:52 +03:00
Andrey Volk e53e8a17c1 [esl] Fix dead nested assignment in esl_recv_event() 2022-08-09 23:19:01 +03:00
Andrey Volk a7740c3cf4 [stb] Fix dead nested assignments in stbi__tga_load() 2022-08-09 23:13:11 +03:00
Andrey Volk b1ab1cf276 [miniupnpc] Fix build on Debian Bullseye 2022-08-09 22:54:24 +03:00
Andrey Volk 5b38db4fa6
Merge pull request #1750 from dragos-oancea/ssl-err
[core, mod_sofia] add some extra checks when creating the digest.
2022-08-08 22:56:01 +03:00
Dragos Oancea c9def5990e [core, mod_sofia] add some extra checks when creating the digest. 2022-08-08 18:56:09 +03:00
Len 29afa27cdd
[Sounds] Add new sounds to en-us-callie and correct en-us-allison 40.wav and 60.wav 2022-08-05 20:52:48 +03:00
Andrey Volk 6bed9e163f
Merge pull request #1727 from signalwire/session_read_lock
[Core] Fix possible race condition between locking a session and reading it's flags in switch_core_session_read_lock() and switch_core_session_read_lock_hangup().
2022-07-26 02:28:50 +03:00
Andrey Volk d96b6a4a8f [Core] Fix possible race condition between locking a session and reading it's flags in switch_core_session_read_lock() and switch_core_session_read_lock_hangup(). 2022-07-26 01:49:31 +03:00
Andrey Volk c671ebcb88
[mod_sofia] unit-tests: Give mod_sofia time to spin up profile threads on load. Remove some fst_requires(). 2022-07-26 01:47:27 +03:00