php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch 62313.patch for Reproducible crash Bug #62313Patch version 2012-06-15 15:52 UTC Return to Bug #62313 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions: 2012-06-27 17:35 UTC | 2012-06-15 15:52 UTC | 2012-06-15 09:38 UTCDeveloper: ab@php.netLine 1 (now 1), was 25 lines, now 22 lines 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 PHP_WIN32 --- php-src-PHP-5.4-a18cede.old.1/Zend/zend_API.c Fri Jun 15 16:15:50 2012 +++ php-src-PHP-5.4-a18cede.old.1/Zend/zend_API.c.new.0 Fri Jun 15 16:15:32 2012 @@ -2545,6 +2545,9 @@ ZEND_FE_END }; +#ifdef PHP_WIN32 +# pragma optimize("", off) +#endif static int ZEND_FASTCALL ZEND_NEW_SPEC_HANDLER(ZEND_OPCODE_HANDLER_ARGS) { USE_OPLINE @@ -839,6 +843,9 @@ static int ZEND_FASTCALL ZEND_NEW_SPEC_HANDLER(ZEND_OPCODE_HANDLER_ARGS) ZEND_VM_NEXT_OPCODE(); } +#endif ZEND_API int zend_disable_class(char *class_name, uint class_name_length TSRMLS_DC) /* {{{ */ { zend_class_entry disabled_class; @@ -2559,6 +2562,9 @@ zend_register_internal_class(&disabled_class TSRMLS_CC); return SUCCESS; } +#ifdef PHP_WIN32 +# pragma optimize("", on) +#endif /* }}} */ static int ZEND_FASTCALL ZEND_BEGIN_SILENCE_SPEC_HANDLER(ZEND_OPCODE_HANDLER_ARGS) { static int zend_is_callable_check_class(const char *name, int name_len, zend_fcall_info_cache *fcc, int *strict_class, char **error TSRMLS_DC) /* {{{ */ |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Sat Jun 15 22:01:30 2024 UTC |