summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorRich Felker <[email protected]>2025-05-16 09:10:19 -0400
committerRich Felker <[email protected]>2025-05-16 09:11:14 -0400
commitae3a8c93a663b553e65f096498937083dad210d2 (patch)
treef30256d8ada8b92a9a48daf7676565d6ee593ac4 /arch/i386
parent23febbd3c5d6b4e367faee4f39b8e8c3b95ab588 (diff)
downloadmusl-master.tar.gz
fix strcasestr failing to find zero-length needleHEADmaster
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 'arch/i386')
0 files changed, 0 insertions, 0 deletions
OSZAR »