From: Stanislav Malyshev Date: Tue, 13 Sep 2016 03:15:22 +0000 (-0700) Subject: I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed X-Git-Tag: php-7.0.11~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32e0b469973de3bb7383c752b87cac504324fbc2;p=php I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 6e17dc5d11..5b051774c9 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);