cvs: ZendEngine2 / zend_ini_scanner.l
"Nuno Lopes" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.zend |
|---|---|
| Message-ID | <cvsnlopess1218111834@cvsserver> |
nlopess Thu Aug 7 12:23:54 2008 UTC
Modified files:
/ZendEngine2 zend_ini_scanner.l
Log:
MFB: fix crash
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_ini_scanner.l?r1=1.53&r2=1.54&diff_format=u
Index: ZendEngine2/zend_ini_scanner.l
diff -u ZendEngine2/zend_ini_scanner.l:1.53 ZendEngine2/zend_ini_scanner.l:1.54
--- ZendEngine2/zend_ini_scanner.l:1.53 Mon Apr 7 11:50:00 2008
+++ ZendEngine2/zend_ini_scanner.l Thu Aug 7 12:23:54 2008
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_ini_scanner.l,v 1.53 2008/04/07 11:50:00 scottmac Exp $ */
+/* $Id: zend_ini_scanner.l,v 1.54 2008/08/07 12:23:54 nlopess Exp $ */
#include <errno.h>
#include "zend.h"
@@ -407,7 +407,6 @@
if (yytext[0] == '"' && yytext[yyleng - 1] == '"') {
SCNG(yy_text)++;
yyleng = yyleng - 2;
- yytext[yyleng] = 0;
}
RETURN_TOKEN(TC_RAW, yytext, yyleng);
}
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php