History log of /PHP-7.2/ (Results 101 – 125 of 83797)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
05560b6718-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 ...

f2fb37a702-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>.

8ce04df702-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.

a5d3620d02-Oct-2019 Nikita Popov

Fix segfault with __COMPILER_HALT_OFFSET__ and trailing {}

Fixes OSS-Fuzz #17895.

3124129c01-Oct-2019 Dmitry Stogov

Fixed test that "fails" from time to time

2fcb5ead01-Oct-2019 Dmitry Stogov

Fixed test that "fails" from time to time

209e37db01-Oct-2019 Fabien Villepinte

Add missing skip keyword in tests

6fcde56b30-Sep-2019 Nikita Popov

Fixed bug #78612

45db6fa530-Sep-2019 Christoph M. Becker

Fix #78609: mb_check_encoding() no longer supports stringable objects

We apply type juggling for other types than array.

f6bfbe9529-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.

37d27e6627-Sep-2019 Fabien Villepinte

Fix SKIPIF in ext/mysqli

115f6eff27-Sep-2019 Christoph M. Becker

Fix skipif.inc

ab938d7b26-Sep-2019 Nikita Popov

Fix memory leak with ** on array operands

8a9df88526-Sep-2019 Nikita Popov

Fix null-pointer deref in if stmt printing

Fixes OSS-Fuzz #17721.

d2331cc329-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).

ed099ab123-Sep-2019 Christoph M. Becker

Fix NEWS entry

Cf. <https://bugs.php.net/78590>.

3ddb63dc23-Sep-2019 Nikita Popov

Fix skipif condition

bc4c4c6523-Sep-2019 Nikita Popov

Skip test on 32-bit

8509970e23-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 ...

697945aa22-Sep-2019 Christoph M. Becker

Fix test to be skipped if dom is not available

f989a4cd22-Sep-2019 Nikita Popov

Fix leak of temporary buffer during exif tag reading

0701835c21-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 ...

0d6c244829-Jul-2019 Jinesh Patel

Fix length of key passed to zend_hash_str_find_ptr

398b308321-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 ...

0fa1302819-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 ...

12345678910>>...3352