com php-src: this check isn't applicable anymore: Zend/zend_s trtod.c
| From: | Anatol Belski | Date: | Tue, 17 Mar 2015 23:14:20 +0000 |
| Subject: | com php-src: this check isn't applicable anymore: Zend/zend_s trtod.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85580@lists.php.net to get a copy of this message | ||
Commit: b3788cd20075a68972113947211d3bdf0d38a13e
Author: Anatol Belski <ab@php.net> Wed, 18 Mar 2015 00:14:20 +0100
Parents: e39db5773d9443e2cfee92bc31651848c044c325
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b3788cd20075a68972113947211d3bdf0d38a13e
Log:
this check isn't applicable anymore
Changed paths:
M Zend/zend_strtod.c
Diff:
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index 8348c69..3b5b3d1 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -607,9 +607,6 @@ Balloc
unsigned int len;
#endif
- if (k > Kmax) {
- zend_error(E_ERROR, "Balloc() allocation exceeds list boundary");
- }
ACQUIRE_DTOA_LOCK(0);
/* The k > Kmax case does not need ACQUIRE_DTOA_LOCK(0), */
/* but this case seems very unlikely. */