[Asterisk-cvs] asterisk/channels/h323 ast_h323.cpp,1.34,1.35

jeremy at lists.digium.com jeremy at lists.digium.com
Thu Mar 4 01:20:25 CST 2004


Update of /usr/cvsroot/asterisk/channels/h323
In directory mongoose.digium.com:/tmp/cvs-serv32108

Modified Files:
	ast_h323.cpp 
Log Message:
check return value stop seg. Bug #967


Index: ast_h323.cpp
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/ast_h323.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- ast_h323.cpp	13 Jan 2004 08:31:13 -0000	1.34
+++ ast_h323.cpp	4 Mar 2004 06:11:23 -0000	1.35
@@ -673,6 +673,10 @@
 	/* Determine the Local (A side) IP Address and port */
 	info = on_create_connection(GetCallReference()); 
 
+	if (!info) {
+		return NULL;
+	}
+
         GetControlChannel().GetLocalAddress().GetIpAndPort(externalIpAddress, port);
 	externalPort = info->port;
 	




More information about the svn-commits mailing list