05560b67 | 18-Sep-2018 |
Konstantin Kopachev |
Fix #76859 stream_get_line skips data if used with data-generating filter stream_get-line repeatedly calls php_stream_fill_read_buffer until enough data is accumulated in buffer. However
Fix #76859 stream_get_line skips data if used with data-generating filter stream_get-line repeatedly calls php_stream_fill_read_buffer until enough data is accumulated in buffer. However, when stream contains filters attached to it, then each call to fill buffer essentially resets buffer read/write pointers and new data is written over old. This causes stream_get_line to skip parts of data from stream This patch fixes such behavior, so fill buffer call will append.
show more ...
|
f2fb37a7 | 02-Oct-2019 |
Christoph M. Becker |
Revert "Fix #78620: Out of memory error" This reverts commit 8ce04df7e0108a10f7b782a28204e9384ab1129c. Cf. <https://github.com/php/php-src/pull/4766#discussion_r330658679>. |
8ce04df7 | 02-Oct-2019 |
Christoph M. Becker |
Fix #78620: Out of memory error If the integer addition in `ZEND_MM_ALIGNED_SIZE_EX` overflows, the macro evaluates to `0`, what we should catch early. |
a5d3620d | 02-Oct-2019 |
Nikita Popov |
Fix segfault with __COMPILER_HALT_OFFSET__ and trailing {} Fixes OSS-Fuzz #17895. |
3124129c | 01-Oct-2019 |
Dmitry Stogov |
Fixed test that "fails" from time to time |
2fcb5ead | 01-Oct-2019 |
Dmitry Stogov |
Fixed test that "fails" from time to time |
209e37db | 01-Oct-2019 |
Fabien Villepinte |
Add missing skip keyword in tests |
6fcde56b | 30-Sep-2019 |
Nikita Popov |
Fixed bug #78612 |
45db6fa5 | 30-Sep-2019 |
Christoph M. Becker |
Fix #78609: mb_check_encoding() no longer supports stringable objects We apply type juggling for other types than array. |
f6bfbe95 | 29-Sep-2019 |
Christoph M. Becker |
Fix build for libzip < 0.11.2 We must not define method entries, if the actual method definitions or the arginfo structures are not defined. |
37d27e66 | 27-Sep-2019 |
Fabien Villepinte |
Fix SKIPIF in ext/mysqli |
115f6eff | 27-Sep-2019 |
Christoph M. Becker |
Fix skipif.inc |
ab938d7b | 26-Sep-2019 |
Nikita Popov |
Fix memory leak with ** on array operands |
8a9df885 | 26-Sep-2019 |
Nikita Popov |
Fix null-pointer deref in if stmt printing Fixes OSS-Fuzz #17721. |
d2331cc3 | 29-Jul-2019 |
Jinesh Patel |
Fix hash key length in umsg_parse_format() Fix array length passed to zend_hash_str_find_ptr() casting from UChar array to char array requires mul by sizeof(UChar). |
ed099ab1 | 23-Sep-2019 |
Christoph M. Becker |
Fix NEWS entry Cf. <https://bugs.php.net/78590>. |
3ddb63dc | 23-Sep-2019 |
Nikita Popov |
Fix skipif condition |
bc4c4c65 | 23-Sep-2019 |
Nikita Popov |
Skip test on 32-bit |
8509970e | 23-Sep-2019 |
Nikita Popov |
Fix signed integer overflow in SplObjectStorage unserialization If count is ZEND_LONG_MIN the count-- loop underflows. This is ultimately harmless, but results in a ubsan warning.
Fix signed integer overflow in SplObjectStorage unserialization If count is ZEND_LONG_MIN the count-- loop underflows. This is ultimately harmless, but results in a ubsan warning. Fix this by adding a sanity check that the count isn't negative, because that doesn't make sense...
show more ...
|
697945aa | 22-Sep-2019 |
Christoph M. Becker |
Fix test to be skipped if dom is not available |
f989a4cd | 22-Sep-2019 |
Nikita Popov |
Fix leak of temporary buffer during exif tag reading |
0701835c | 21-Sep-2019 |
Nikita Popov |
Fix multiple leaks in exif_read_data() This fixes two leaks related to duplicate tags, as well as a leak of zero-length FMT_(S)BYTE with non-null value. This can show up for MAKERNOT
Fix multiple leaks in exif_read_data() This fixes two leaks related to duplicate tags, as well as a leak of zero-length FMT_(S)BYTE with non-null value. This can show up for MAKERNOTE values where the original length is non-zero, but the first character is a null byte.
show more ...
|
0d6c2448 | 29-Jul-2019 |
Jinesh Patel |
Fix length of key passed to zend_hash_str_find_ptr |
398b3083 | 21-Sep-2019 |
Christoph M. Becker |
Fix #78579: mb_decode_numericentity: args number inconsistency mb_decode_numericentity() accepts a fourth optional parameter, which is unused, however. Since this parameter doesn't do a
Fix #78579: mb_decode_numericentity: args number inconsistency mb_decode_numericentity() accepts a fourth optional parameter, which is unused, however. Since this parameter doesn't do any harm, and to avoid the small BC break, we're keeping this parameter for PHP 7, but adjust the arginfo. For PHP 8, we will remove this parameter.
show more ...
|
0fa13028 | 19-Sep-2019 |
Nikita Popov |
Fix out-of-bounds read in exif tag reading This issue was recently introduced in c739023a50876e2a90588f915803b0140a95638e, when the restriction that components>0 has been relaxed. We now
Fix out-of-bounds read in exif tag reading This issue was recently introduced in c739023a50876e2a90588f915803b0140a95638e, when the restriction that components>0 has been relaxed. We now need to make sure that any tags that expect at least one component check that this is the case.
show more ...
|