[patch] add a new test for the strnlen func and update a few others

Mike Frysinger vapier@gentoo.org
Tue Feb 14 02:24:00 GMT 2006


just realized that the string.c test we have in uClibc is the same as glibc's 
tester.c ... a while back i hit some bugs in strnlen() dealing with very 
large values ((size_t)-1 to be exact), so i added a new test_strnlen() based 
upon the existing test_strlen() to detect the issue as well as in strncat() 
and strncmp()
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-string-test-strn-signed-length.patch
Type: text/x-diff
Size: 2382 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060214/18c32760/attachment.bin>


More information about the Libc-alpha mailing list