diff options
author | transnexus <transnexus@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-19 01:56:47 +0000 |
---|---|---|
committer | transnexus <transnexus@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-19 01:56:47 +0000 |
commit | 5862465415659370160ef3f5a6ffeb097ac66f4a (patch) | |
tree | 54771bb347b349b1360f02939287c065a5386f2e /apps/app_osplookup.c | |
parent | b56389eb19d4ebba3e51e204b980ea3fc7529b90 (diff) |
Fixed a buffer size issue.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86439 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_osplookup.c')
-rw-r--r-- | apps/app_osplookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |