about summary refs log tree commit diff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-04-18 17:38:35 -0400
committerRich Felker <dalias@aerifal.cx>2014-04-18 17:38:35 -0400
commit476cd1d96560aaf7f210319597556e7fbcd60469 (patch)
tree15d02708160ed765160ed8bec3885441eeba21c2 /include/unistd.h
parentfbeadd150feaa7993250d2d6739df670d4539e54 (diff)
downloadmusl-476cd1d96560aaf7f210319597556e7fbcd60469.tar.gz
musl-476cd1d96560aaf7f210319597556e7fbcd60469.tar.xz
musl-476cd1d96560aaf7f210319597556e7fbcd60469.zip
fix false negatives with periodic needles in strstr, wcsstr, and memmem
in cases where the memorized match range from the right factor
exceeded the length of the left factor, it was wrongly treated as a
mismatch rather than a match.

issue reported by Yves Bastide.
Diffstat (limited to 'include/unistd.h')
0 files changed, 0 insertions, 0 deletions