mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
This upgrades freeswitch from 1.6.20 to 1.8.2. All changes imported from
master. Notable changes:
Modules:
- v8 removed as too difficult to maintain
- new modules: fail2ban, raven and video_filter
Init and hotplug:
- changed init config to uci (/etc/default/freeswitch replaced with
/etc/config/freeswitch)
- logging can now be enabled via /etc/config/freeswitch
- hotplug script is now included in the main package
- the post-install script no longer disables freeswitch during
upgrades
Fixes:
- freeswitch now sends console output properly to procd
Misc:
- the new release adds support for MSRP (Message Session Relay
Protocol, see
https://en.wikipedia.org/wiki/Message_Session_Relay_Protocol), this
opens TCP ports by default, can be limited to localhost in
autoload_configs/msrp.conf.xml
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
38 lines
1.7 KiB
Diff
38 lines
1.7 KiB
Diff
From ae56352cfff570f1b7ac0748aa339bd7bf373794 Mon Sep 17 00:00:00 2001
|
|
From: Eneas U de Queiroz <cote2004-github@yahoo.com>
|
|
Date: Sat, 9 Jun 2018 19:02:41 -0300
|
|
Subject: [PATCH] mod_event_multicast.c: fix memory leak
|
|
|
|
Fixed two memory leaks with openssl 1.1.
|
|
|
|
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
|
|
---
|
|
src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c
|
|
index f591855a3e..fb952ce740 100644
|
|
--- a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c
|
|
+++ b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c
|
|
@@ -324,7 +324,7 @@ static void event_handler(switch_event_t *event)
|
|
&tmplen, (unsigned char *) MAGIC, (int) strlen((char *) MAGIC));
|
|
outlen += tmplen;
|
|
EVP_EncryptFinal(ctx, (unsigned char *) buf + SWITCH_UUID_FORMATTED_LENGTH + outlen, &tmplen);
|
|
- EVP_CIPHER_CTX_cleanup(ctx);
|
|
+ EVP_CIPHER_CTX_free(ctx);
|
|
#else
|
|
EVP_CIPHER_CTX_init(&ctx);
|
|
EVP_EncryptInit(&ctx, EVP_bf_cbc(), NULL, NULL);
|
|
@@ -570,7 +570,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_event_multicast_runtime)
|
|
EVP_DecryptInit(ctx, NULL, (unsigned char *) globals.psk, (unsigned char *) uuid_str);
|
|
EVP_DecryptUpdate(ctx, (unsigned char *) tmp, &outl, (unsigned char *) packet, (int) len);
|
|
EVP_DecryptFinal(ctx, (unsigned char *) tmp + outl, &tmplen);
|
|
- EVP_CIPHER_CTX_cleanup(ctx);
|
|
+ EVP_CIPHER_CTX_free(ctx);
|
|
#else
|
|
EVP_CIPHER_CTX_init(&ctx);
|
|
EVP_DecryptInit(&ctx, EVP_bf_cbc(), NULL, NULL);
|
|
--
|
|
2.16.4
|
|
|