mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 07:01:09 +00:00
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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user