[Asterisk-cvs] asterisk callerid.c,1.18,1.19
markster at lists.digium.com
markster at lists.digium.com
Thu Jul 22 20:41:26 CDT 2004
Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv1477
Modified Files:
callerid.c
Log Message:
Demand more information on callerid to prevent possible overruns
Index: callerid.c
===================================================================
RCS file: /usr/cvsroot/asterisk/callerid.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- callerid.c 9 Jul 2004 10:08:09 -0000 1.18
+++ callerid.c 23 Jul 2004 00:27:26 -0000 1.19
@@ -186,7 +186,7 @@
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) {
More information about the svn-commits
mailing list