Page MenuHomeFreeBSD

Add test for a musl libc memmem bug
ClosedPublic

Authored by emaste on Oct 3 2016, 5:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 12:37 PM
Unknown Object (File)
Fri, Nov 22, 11:44 AM
Unknown Object (File)
Tue, Nov 19, 12:02 PM
Unknown Object (File)
Sep 30 2024, 6:53 PM
Unknown Object (File)
Sep 18 2024, 12:34 AM
Unknown Object (File)
Sep 11 2024, 5:11 AM
Unknown Object (File)
Sep 10 2024, 9:38 PM
Unknown Object (File)
Sep 7 2024, 2:26 AM
Subscribers
None

Details

Summary

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.

Add this test in advance of migrating to musl's optimized strstr and memmem, in review D2601.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Add test for a musl libc memmem bug.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: ngie.
ed edited edge metadata.
This revision is now accepted and ready to land.Oct 5 2016, 5:36 PM
This revision was automatically updated to reflect the committed changes.