php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62313
Patch 62313.patch revision 2012-06-27 17:35 UTC by ab@php.net
revision 2012-06-15 15:52 UTC by ab@php.net
revision 2012-06-15 09:38 UTC by ab@php.net

Patch 62313.patch for Reproducible crash Bug #62313

Patch version 2012-06-27 17:35 UTC

Return to Bug #62313 | Download this patch
Patch Revisions:

Developer: ab@php.net

Index: Zend/zend_API.c
===================================================================
--- Zend/zend_API.c	(revision 322463)
+++ Zend/zend_API.c	(working copy)
@@ -2523,6 +2523,9 @@
 }
 /* }}} */
 
+#ifdef ZEND_WIN32
+#pragma optimize("", off)
+#endif
 static zend_object_value display_disabled_class(zend_class_entry *class_type TSRMLS_DC) /* {{{ */
 {
 	zend_object_value retval;
@@ -2531,6 +2534,9 @@
 	zend_error(E_WARNING, "%s() has been disabled for security reasons", class_type->name);
 	return retval;
 }
+#ifdef ZEND_WIN32
+#pragma optimize("", on)
+#endif
 /* }}} */
 
 static const zend_function_entry disabled_class_new[] = {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC