[asterisk-commits] russell: trunk r80391 - in /trunk: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 22 16:03:28 CDT 2007


Author: russell
Date: Wed Aug 22 16:03:27 2007
New Revision: 80391

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80391
Log:
Merged revisions 80390 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80390 | russell | 2007-08-22 16:00:44 -0500 (Wed, 22 Aug 2007) | 3 lines

Don't crash when using realtime in chan_sip without an insecure setting in the database.
(closes issue #10348, reported by link55, fixed by me)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=80391&r1=80390&r2=80391
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Aug 22 16:03:27 2007
@@ -16841,6 +16841,9 @@
 
 static void set_insecure_flags (struct ast_flags *flags, const char *value, int lineno)
 {
+	if (ast_strlen_zero(value))
+		return;
+
 	if (!ast_false(value)) {
 		char buf[64];
 		char *word, *next;




More information about the asterisk-commits mailing list