From 32794ca74879011ea303a5f251f510b304a3b647 Mon Sep 17 00:00:00 2001 From: markster Date: Fri, 23 Jul 2004 00:27:26 +0000 Subject: 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 --- callerid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;xoldlen/2] = AST_XLAW(ubuf[x]); - while(mylen >= 80) { + while(mylen >= 160) { olen = mylen; res = fsk_serie(&cid->fskd, buf, &mylen, &b); if (mylen < 0) { -- cgit v1.2.3