[Asterisk-cvs] asterisk asterisk.c,1.49,1.50
markster at lists.digium.com
markster at lists.digium.com
Fri Jan 23 13:20:47 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv19638
Modified Files:
asterisk.c
Log Message:
Fix overflow in too many arguments (bug #806)
Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- asterisk.c 14 Jan 2004 16:43:07 -0000 1.49
+++ asterisk.c 23 Jan 2004 19:12:44 -0000 1.50
@@ -1046,7 +1046,8 @@
if (el_hist == NULL || el == NULL)
ast_el_initialize();
-
+ if (strlen(buf) > 256)
+ return 0;
return (history(el_hist, &ev, H_ENTER, buf));
}
More information about the svn-commits
mailing list