Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed bug #60194 for eavl

same reason here
  • Loading branch information...
commit b477a84026a39a58452af9676b4b74607e83e2f8 1 parent ef7286a
Xinchen Hui authored July 28, 2012
4  Zend/zend_language_scanner.c
... ...
@@ -1,4 +1,4 @@
1  
-/* Generated by re2c 0.13.5 on Sat Jul 28 00:45:37 2012 */
  1
+/* Generated by re2c 0.13.5 on Sat Jul 28 16:59:07 2012 */
2 2
 #line 1 "Zend/zend_language_scanner.l"
3 3
 /*
4 4
    +----------------------------------------------------------------------+
@@ -445,7 +445,7 @@ ZEND_API int zend_prepare_string_for_scanning(zval *str, char *filename TSRMLS_D
445 445
 	zend_multibyte_set_filter(CG(internal_encoding) TSRMLS_CC);
446 446
 
447 447
 	if (!SCNG(input_filter)) {
448  
-		SCNG(script_filtered) = (unsigned char*)emalloc(SCNG(script_org_size)+1);
  448
+		SCNG(script_filtered) = (unsigned char*)emalloc(SCNG(script_org_size)+2);
449 449
 		memcpy(SCNG(script_filtered), SCNG(script_org), SCNG(script_org_size)+1);
450 450
 		SCNG(script_filtered_size) = SCNG(script_org_size);
451 451
 	} else {
2  Zend/zend_language_scanner.l
@@ -443,7 +443,7 @@ ZEND_API int zend_prepare_string_for_scanning(zval *str, char *filename TSRMLS_D
443 443
 	zend_multibyte_set_filter(CG(internal_encoding) TSRMLS_CC);
444 444
 
445 445
 	if (!SCNG(input_filter)) {
446  
-		SCNG(script_filtered) = (unsigned char*)emalloc(SCNG(script_org_size)+1);
  446
+		SCNG(script_filtered) = (unsigned char*)emalloc(SCNG(script_org_size)+2);
447 447
 		memcpy(SCNG(script_filtered), SCNG(script_org), SCNG(script_org_size)+1);
448 448
 		SCNG(script_filtered_size) = SCNG(script_org_size);
449 449
 	} else {
2  Zend/zend_language_scanner_defs.h
... ...
@@ -1,4 +1,4 @@
1  
-/* Generated by re2c 0.13.5 on Sat Jul 28 00:45:37 2012 */
  1
+/* Generated by re2c 0.13.5 on Sat Jul 28 16:59:07 2012 */
2 2
 #line 3 "Zend/zend_language_scanner_defs.h"
3 3
 
4 4
 enum YYCONDTYPE {

0 notes on commit b477a84

Please sign in to comment.
Something went wrong with that request. Please try again.