From d667064268eefdd17a30e050e410a2c1fc329e7d Mon Sep 17 00:00:00 2001 From: TransNexus OSP Development Date: Fri, 19 Oct 2007 01:56:47 +0000 Subject: Fixed a buffer size issue. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86439 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_osplookup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_osplookup.c') diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c index 5c4e2402b..44f85b0c9 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; -- cgit v1.2.3