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-15 09:38 UTC

Return to Bug #62313 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions: 2012-06-27 17:35 UTC | 2012-06-15 15:52 UTC | 2012-06-15 09:38 UTC

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 @@
 diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h
 index 1fb6e76..2f11bde 100644
 --- a/Zend/zend_vm_execute.h
 +++ b/Zend/zend_vm_execute.h
 @@ -793,6 +793,10 @@ static int ZEND_FASTCALL  ZEND_RECV_SPEC_HANDLER(ZEND_OPCODE_HANDLER_ARGS)
  	ZEND_VM_NEXT_OPCODE();
   }
  /* }}} */
   
 +#ifdef ZEND_WIN32
 +#pragma optimize("", off)
 +
 +#ifdef PHP_WIN32
 +# pragma optimize("", off)
  +#endif
  static zend_object_value display_disabled_class(zend_class_entry *class_type TSRMLS_DC) /* {{{ */
  static int ZEND_FASTCALL  ZEND_NEW_SPEC_HANDLER(ZEND_OPCODE_HANDLER_ARGS)
   {
  	zend_object_value retval;
 @@ -2531,6 +2534,9 @@
  	zend_error(E_WARNING, "%s() has been disabled for security reasons", class_type->name);
  	return retval;
  	USE_OPLINE
 @@ -839,6 +843,9 @@ static int ZEND_FASTCALL  ZEND_NEW_SPEC_HANDLER(ZEND_OPCODE_HANDLER_ARGS)
  		ZEND_VM_NEXT_OPCODE();
  	}
   }
 +#ifdef ZEND_WIN32
 +#pragma optimize("", on)
 +#ifdef PHP_WIN32
 +# pragma optimize("", on)
  +#endif
  /* }}} */
   
  static const zend_function_entry disabled_class_new[] = {
  static int ZEND_FASTCALL  ZEND_BEGIN_SILENCE_SPEC_HANDLER(ZEND_OPCODE_HANDLER_ARGS)
  {
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Apr 08 06:01:25 2020 UTC