Page MenuHomeFreeBSD

lib/libc/tests/string: extend strncmp unit test with bounds check
AbandonedPublic

Authored by getz on Jul 10 2024, 10:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 27, 4:54 PM
Unknown Object (File)
Fri, Jan 24, 8:47 AM
Unknown Object (File)
Jan 3 2025, 2:49 PM
Unknown Object (File)
Jan 2 2025, 1:09 PM
Unknown Object (File)
Dec 25 2024, 8:15 PM
Unknown Object (File)
Dec 14 2024, 11:14 AM
Unknown Object (File)
Oct 28 2024, 8:16 PM
Unknown Object (File)
Oct 23 2024, 3:29 PM
Subscribers

Details

Reviewers
fuz
emaste
Summary

The strlcpy bounds test also functions as a strncmp bounds test.
I copied it over to the strncmp test.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 58601
Build 55489: arc lint + arc unit

Event Timeline

getz requested review of this revision.Jul 10 2024, 10:55 AM
getz added reviewers: fuz, emaste.

I'll write a proper new test instead testing more cases for the bounds