Patch fix-segfault-when-enable-zend-multibyte for Scripting Engine problem Bug #51243
Patch version 2011-03-30 09:38 UTC
Return to Bug #51243 |
Download this patch
Patch Revisions:
Developer: ks.08651@i-revo.co.jp
--- Zend/zend_language_scanner.l.orig 2011-01-04 00:35:59.000000000 +0900
+++ Zend/zend_language_scanner.l 2011-03-30 17:28:42.000000000 +0900
@@ -152,6 +152,11 @@
CG(doc_comment) = NULL;
CG(doc_comment_len) = 0;
zend_stack_init(&SCNG(state_stack));
+
+#ifdef ZEND_MULTIBYTE
+ SCNG(script_org) = NULL;
+ SCNG(script_filtered) = NULL;
+#endif /* ZEND_MULTIBYTE */
}
void shutdown_scanner(TSRMLS_D)
|