summaryrefslogtreecommitdiff
path: root/apps/app_osplookup.c
diff options
context:
space:
mode:
authorTransNexus OSP Development <support@transnexus.com>2007-10-19 01:56:47 +0000
committerTransNexus OSP Development <support@transnexus.com>2007-10-19 01:56:47 +0000
commitd667064268eefdd17a30e050e410a2c1fc329e7d (patch)
tree54771bb347b349b1360f02939287c065a5386f2e /apps/app_osplookup.c
parentc3f81e70998ebf987547eea9294933eb3ce63cdb (diff)
Fixed a buffer size issue.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_osplookup.c')
-rw-r--r--apps/app_osplookup.c4
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;