diff options
| author | Rich Felker <dalias@aerifal.cx> | 2025-05-16 09:10:19 -0400 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2025-05-16 09:11:14 -0400 |
| commit | ae3a8c93a663b553e65f096498937083dad210d2 (patch) | |
| tree | f30256d8ada8b92a9a48daf7676565d6ee593ac4 /src/mman/mmap.c | |
| parent | 23febbd3c5d6b4e367faee4f39b8e8c3b95ab588 (diff) | |
| download | musl-ae3a8c93a663b553e65f096498937083dad210d2.tar.gz | |
fix strcasestr failing to find zero-length needle
the loop condition ending on end-of-haystack ends before a zero-length
needle can be matched, so just explicitly check it before the loop.
Diffstat (limited to 'src/mman/mmap.c')
0 files changed, 0 insertions, 0 deletions
