Niels Dossche
aa34e0acb4
Fix GH-13685: Unexpected null pointer in zend_string.h
...
Regressed in 6fbf81c .
There is a missing error check on spl_filesystem_file_read_line(), which
means that if the line could not be read (e.g. because we're at the end
of the file), it will not set intern->u.file.current_line, which will
cause a NULL pointer deref later on.
Fix it by adding a check, and reintroducing the silent flag partially to
be able to throw an exception like it did in the past.
Closes GH-13692.
2024-03-17 18:37:52 +01:00
..
2024-03-17 18:37:52 +01:00
2021-06-18 15:22:52 +01:00
2021-06-18 15:22:52 +01:00
2018-08-28 23:26:49 +02:00
2022-07-21 15:05:34 +02:00
2023-12-01 09:09:17 +01:00
2021-05-26 09:36:23 +02:00
2022-07-21 15:05:34 +02:00
2022-08-02 16:37:12 +02:00
2023-08-30 22:26:36 +02:00
2022-08-02 16:37:12 +02:00
2022-08-02 16:37:12 +02:00
2022-11-22 12:26:03 +00:00
2024-03-17 18:37:52 +01:00
2022-08-02 16:37:12 +02:00
2022-11-22 12:26:03 +00:00
2022-08-02 16:37:12 +02:00
2022-09-14 11:28:06 +02:00
2022-08-02 16:37:12 +02:00
2022-08-02 16:37:12 +02:00
2021-06-18 15:22:52 +01:00
2021-02-18 13:01:51 +01:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-02-18 13:01:51 +01:00
2022-08-30 07:46:32 -04:00
2024-02-27 23:04:23 +01:00
2021-05-06 12:16:35 +02:00
2022-08-30 07:46:32 -04:00
2022-04-13 20:34:23 +01:00
2022-08-02 16:37:12 +02:00
2022-08-02 16:37:12 +02:00
2022-09-14 11:28:06 +02:00
2022-08-02 16:37:12 +02:00
2022-08-02 16:37:12 +02:00
2022-08-02 16:37:12 +02:00
2023-04-20 13:43:20 +02:00
2022-08-02 16:37:12 +02:00
2022-08-02 16:37:12 +02:00
2022-08-02 16:37:12 +02:00
2022-09-14 11:13:23 +02:00
2022-08-02 16:37:12 +02:00
2022-08-02 16:37:12 +02:00