mirror of
https://github.com/php/php-src.git
synced 2024-09-24 03:17:26 +00:00
I don't think 8cceb012a7
is needed
This commit is contained in:
parent
fab33740c5
commit
32e0b46997
@ -2336,12 +2336,6 @@ PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char
|
|||||||
|
|
||||||
/* 3. Now pass our field back to php */
|
/* 3. Now pass our field back to php */
|
||||||
*comp_end = '\0';
|
*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);
|
add_next_index_stringl(return_value, temp, comp_end - temp);
|
||||||
} while (inc_len > 0);
|
} while (inc_len > 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user