Re: [PATCH] ash: fix out-of-bounds read in ifsbreakup()
Harald van Dijk via busybox <[email protected]> Tue, 16 Jun 2026 07:22:30 +0100
| Newsgroups | gmane.linux.busybox |
|---|---|
| Message-ID | <[email protected]> |
On 6/16/26 04:19, Sanghyun Park via busybox wrote: > ifsbreakup() skips over CTLESC before testing the following byte against > IFS. If CTLESC is the last byte in the recorded region, the scan > advances to the region end and can dereference one byte past it. It should not be possible for the last byte in a recorded region to be an unescaped CTLESC. Do you have a test case for what this patch fixes? Cheers, Harald van Dijk