Fixed a buffer size issue.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
TransNexus OSP Development
2007-10-19 01:56:47 +00:00
parent c3f81e7099
commit d667064268

View File

@@ -520,8 +520,8 @@ static int osp_validate_token(
int res; int res;
int tokenlen; int tokenlen;
unsigned char tokenstr[OSP_TOKSTR_SIZE]; unsigned char tokenstr[OSP_TOKSTR_SIZE];
char src[OSP_TOKSTR_SIZE]; char src[OSP_NORSTR_SIZE];
char dst[OSP_TOKSTR_SIZE]; char dst[OSP_NORSTR_SIZE];
unsigned int authorised; unsigned int authorised;
unsigned int dummy = 0; unsigned int dummy = 0;
int error; int error;