1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/win32
Christoph M. Becker ed8b11188b Fix potential OOB when checking for trailing spaces
If `path_len` is zero, we must not access `path`, let alone try to
subtract `-1` from it.

Since `path` and `path_len` are supposed to come from a `zend_string`,
this is not a security issue.

Closes GH-17471.
2025-01-16 00:01:22 +01:00
..
2019-02-03 21:03:00 +01:00
2018-01-03 14:38:00 +01:00
2019-02-03 21:03:00 +01:00
2019-02-03 21:03:00 +01:00
2019-02-03 21:03:00 +01:00
2021-06-29 11:30:26 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2019-02-03 21:03:00 +01:00
2023-07-07 18:02:32 +02:00
2023-07-07 18:02:32 +02:00
2021-05-06 12:16:35 +02:00
2022-05-12 14:55:11 +02:00
2020-06-08 10:38:45 +02:00
2022-11-28 17:12:07 +01:00
2019-02-08 18:42:48 -08:00
2021-05-06 12:16:35 +02:00
2019-02-03 21:03:00 +01:00
2019-02-03 21:03:00 +01:00
2019-02-03 21:03:00 +01:00
2019-07-11 13:11:08 +02:00