[php-src] PR #17801: Fix GH-17797: zend_test_compile_string crash on invalid script path.
| From: | devnexen | Date: | Fri, 14 Feb 2025 07:18:08 +0000 |
| Subject: | [php-src] PR #17801: Fix GH-17797: zend_test_compile_string crash on invalid script path. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30763@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17801
Author: devnexen
When looking for the last slash of the script path, it leads to underflow being promoted to SIZE_MAX
being way beyond MAXPATHLEN.