From: TransNexus OSP Development Date: Fri, 19 Oct 2007 01:56:47 +0000 (+0000) Subject: Fixed a buffer size issue. X-Git-Tag: 1.6.0-beta1~3^2~1138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d667064268eefdd17a30e050e410a2c1fc329e7d;p=thirdparty%2Fasterisk.git Fixed a buffer size issue. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86439 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c index 5c4e2402bb..44f85b0c97 100644 --- a/apps/app_osplookup.c +++ b/apps/app_osplookup.c @@ -520,8 +520,8 @@ static int osp_validate_token( 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;