]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r306784:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Feb 2017 02:48:24 +0000 (02:48 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Feb 2017 02:48:24 +0000 (02:48 +0000)
commitfc71a0688d221bd7ed318518e7f6ad73d63bc280
treedc13ae7a0499e34ddc8ef68def08591cefaf0baa
parent4a9c55c4aae0ab68101101d26868b86d3e0242f3
MFC r306784:
r306784 (by emaste):

Add test for a musl libc memmem bug

With a short needle (aka little) musl's memmem could read past the end
of the haystack (aka big). This was fixed in musl commit c718f9f.

git-svn-id: svn://svn.freebsd.org/base/stable/10@313513 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/netbsd-tests/lib/libc/string/t_memmem.c