mirror of
https://github.com/php/php-src.git
synced 2026-03-30 04:02:19 +02:00
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>
19 KiB
19 KiB