com php-src: I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed: ext/standard/file.c
| From: | Stanislav Malyshev | Date: | Tue, 13 Sep 2016 03:15:22 +0000 |
| Subject: | com php-src: I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed: ext/standard/file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94453@lists.php.net to get a copy of this message | ||
Commit: 32e0b469973de3bb7383c752b87cac504324fbc2
Author: Stanislav Malyshev <stas@php.net> Mon, 12 Sep 2016 20:15:22 -0700
Parents: fab33740c5d6541653277ffc7443022730f444a7
Branches: PHP-7.0.11
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=32e0b469973de3bb7383c752b87cac504324fbc2
Log:
I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed
Changed paths:
M ext/standard/file.c
Diff:
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 6e17dc5..5b05177 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -2336,12 +2336,6 @@ PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure,
char
/* 3. Now pass our field back to php */
*comp_end = '\0';
-#ifndef ZEND_ENABLE_ZVAL_LONG64
- if (UNEXPECTED((comp_end - temp) > ZEND_LONG_MAX)) {
- zend_error_noreturn(E_WARNING, "String overflow, max size is " ZEND_LONG_FMT,
ZEND_LONG_MAX);
- break;
- }
-#endif
add_next_index_stringl(return_value, temp, comp_end - temp);
} while (inc_len > 0);