[PATCH] PPC Bugz#1877 strncmp() accesses beyond instructed n bytes

Ulrich Drepper drepper@redhat.com
Thu Nov 17 21:17:00 GMT 2005


Beside the previous comment, it is perfectly fine to read beyond the end 
of the string if the read bytes are never uesed and it can never cause a 
segmentation fault.  We do this in the x86 versions all the time.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖



More information about the Libc-alpha mailing list