[svn-commits] file: branch 1.6.0 r195090 - in /branches/1.6.0: ./ channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon May 18 08:37:25 CDT 2009
Author: file
Date: Mon May 18 08:37:20 2009
New Revision: 195090
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=195090
Log:
Merged revisions 195089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r195089 | file | 2009-05-18 10:36:17 -0300 (Mon, 18 May 2009) | 5 lines
Fix a bug where specifying an empty outboundproxy would cause packets to get sent to ourself.
(closes issue #15106)
Reported by: timeshell
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/channels/chan_sip.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=195090&r1=195089&r2=195090
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Mon May 18 08:37:20 2009
@@ -2399,6 +2399,11 @@
static struct sip_proxy *proxy_allocate(char *name, char *port, int force)
{
struct sip_proxy *proxy;
+
+ if (ast_strlen_zero(name)) {
+ return NULL;
+ }
+
proxy = ast_calloc(1, sizeof(*proxy));
if (!proxy)
return NULL;
More information about the svn-commits
mailing list