[php-src] PR #12152: Fix GH-12151: str_getcsv ending with escape zero segfualt
| From: | bukka | Date: | Thu, 07 Sep 2023 15:25:52 +0000 |
| Subject: | [php-src] PR #12152: Fix GH-12151: str_getcsv ending with escape zero segfualt | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23594@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12152
Author: bukka
The segfault was because
hunk_begin was not decrement which resulted in negative move.
This checkes fixes the issue. The code is really messy and it will need some rewrite at some point.