[asterisk-commits] transnexus: trunk r86439 - /trunk/apps/app_osplookup.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 18 20:56:47 CDT 2007


Author: transnexus
Date: Thu Oct 18 20:56:47 2007
New Revision: 86439

URL: http://svn.digium.com/view/asterisk?view=rev&rev=86439
Log:
Fixed a buffer size issue.

Modified:
    trunk/apps/app_osplookup.c

Modified: trunk/apps/app_osplookup.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_osplookup.c?view=diff&rev=86439&r1=86438&r2=86439
==============================================================================
--- trunk/apps/app_osplookup.c (original)
+++ trunk/apps/app_osplookup.c Thu Oct 18 20:56:47 2007
@@ -520,8 +520,8 @@
 	int res;
 	int tokenlen;
 	unsigned char tokenstr[OSP_TOKSTR_SIZE];
-	char src[OSP_TOKSTR_SIZE];
-	char dst[OSP_TOKSTR_SIZE];
+	char src[OSP_NORSTR_SIZE];
+	char dst[OSP_NORSTR_SIZE];
 	unsigned int authorised;
 	unsigned int dummy = 0;
 	int error;




More information about the asterisk-commits mailing list