diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-23 00:27:26 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-23 00:27:26 +0000 |
commit | 32794ca74879011ea303a5f251f510b304a3b647 (patch) | |
tree | a1059d462d9791fdc8daf35f1b1eab77a6a38d8b /callerid.c | |
parent | d56eb1cfe99dcfbbbea993617b479bf4e9e6ca05 (diff) |
Demand more information on callerid to prevent possible overruns
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3494 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'callerid.c')
-rwxr-xr-x | callerid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/callerid.c b/callerid.c index 544345bea..283a5dee8 100755 --- a/callerid.c +++ b/callerid.c @@ -186,7 +186,7 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, int mylen += cid->oldlen/2; for (x=0;x<len;x++) buf[x+cid->oldlen/2] = AST_XLAW(ubuf[x]); - while(mylen >= 80) { + while(mylen >= 160) { olen = mylen; res = fsk_serie(&cid->fskd, buf, &mylen, &b); if (mylen < 0) { |