php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch is_numeric_patch for JSON related Bug #64695Patch version 2013-04-23 04:16 UTC Return to Bug #64695 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: keith@openx.comdiff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index 273347f..e34c87a 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -150,6 +150,9 @@ check_digits: if (*e == '-' || *e == '+') { ptr = e++; + } else { + // e without a following +/- is not valid exponent notation + return 0; } if (ZEND_IS_DIGIT(*e)) { goto process_double; |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Sun Nov 24 10:01:32 2024 UTC |