History log of /PHP-8.2/sapi/phpdbg/tests/watch_007.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 398a10a5 16-Jan-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix phpdbg segmentation fault in case of malformed input

If you were to enter "w $>" the function would crash with a segmentation
fault because last_index is still NULL at that point. Fi

Fix phpdbg segmentation fault in case of malformed input

If you were to enter "w $>" the function would crash with a segmentation
fault because last_index is still NULL at that point. Fix it by checking
for NULL and erroring out if it is.

Closes GH-10353

Signed-off-by: George Peter Banyard <girgias@php.net>

show more ...