I don't think 8cceb012a7 is needed

This commit is contained in:
Stanislav Malyshev 2016-09-12 20:15:22 -07:00
parent fab33740c5
commit 32e0b46997

View File

@ -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);