CVSROOT: /cvs Module name: src Changes by: [email protected] 2010/06/02 06:58:12
Modified files:
lib/libc/string: strnlen.c
Log message:
Avoid using and end pointer since strnlen(string, -1) is legal
and would otherwise result in overflowing the end pointer and
cause strnlen() to return 0. OK sthen@
