History log of /PHP-8.1/ext/standard/tests/filters/bug74267.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# c5401854 18-Sep-2020 Nikita Popov

Run tidy

This should fix most of the remaining issues with tabs and spaces
being mixed in tests.


# cadcefc9 09-Jun-2020 Christoph M. Becker

Fix new test case for master


# 12c59f66 08-Jun-2020 Christoph M. Becker

Fix #74267: segfault with streams and invalid data

If the current character is a line break character, it cannot be a tab
or space character, so we would always fail with an invalid sequ

Fix #74267: segfault with streams and invalid data

If the current character is a line break character, it cannot be a tab
or space character, so we would always fail with an invalid sequence
error. Obviously, these `scan_stat == 4` conditions are meant to be
exclusive.

Furthermore, if `in_pp == NULL || in_left_p == NULL` is true, we hit a
segfault if we are not returning right away. Obviously, the additional
constraints don't make sense, so we remove them.

show more ...