MT#7503 update upstream patches

mr3.4.1
Victor Seva 12 years ago
parent b16fed8a89
commit 01b66088c5

@ -10,18 +10,7 @@ upstream/0003-textops-functions-to-convert-append-and-remove-multi.patch
upstream/0004-textops-add-new-multipart-functions-documentation.patch
upstream/0005-textops-Refresh-README.patch
# fixes from 4.1 branch
upstream/0001-pipelimit-run-timer-at-1000ms.patch
upstream/0002-drouting-removed-old-contraint-on-route-index.patch
upstream/0003-core-compute-the-len-for-dns-srv-name.patch
upstream/0004-acc-no-request-is-needed-for-setting-end-time-on-dia.patch
upstream/0005-rtmier-reset-avps-and-xavp-lists-after-route-blocks-.patch
upstream/0006-dialog-copy-dlg-var-value-locally-on-get-operation.patch
upstream/0007-presence_dialoginfo-interetate-through-all-dialog-no.patch
upstream/0008-websocket-Fix-crash-in-websocket-module.patch
upstream/0009-db_mysql-properly-free-db-result-structure-if-db_mys.patch
upstream/0010-presence_dialoginfo-get-rid-of-unused-variables-warn.patch
upstream/0011-siputils-allocate-enough-space-to-hold-ending-zero-f.patch
upstream/0012-mtree-replace-tree-structure-even-there-are-no-recor.patch
upstream/0001-core-fix-crash-related-to-core-sockets_list-command.patch
#
no_lib64_on_64_bits.patch
no_INSTALL_file.patch

@ -0,0 +1,27 @@
From 2198cb5d508055f495af29866045d51c1098d5cc Mon Sep 17 00:00:00 2001
From: Ovidiu Sas <osas@voipembedded.com>
Date: Thu, 12 Jun 2014 12:46:39 -0400
Subject: [PATCH] core: fix crash related to core sockets_list command -
reported by Nuno Reis <nreis@wavecom.pt> (cherry picked from commit
1c715b1a2a66a4a15d1a8def33ef369212712bb1)
---
core_cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core_cmd.c b/core_cmd.c
index 304c49d..52150e9 100644
--- a/core_cmd.c
+++ b/core_cmd.c
@@ -936,7 +936,7 @@ static void core_sockets_list(rpc_t* rpc, void* c)
"proto", get_proto_name(proto),
"address", si->name.s);
if (!si->flags & SI_IS_IP)
- rpc->struct_add(ha, "ss",
+ rpc->struct_add(ha, "s",
"ipaddress", si->address_str.s);
rpc->struct_add(ha, "sss",
"proto", si->port_no_str.s,
--
2.0.0
Loading…
Cancel
Save