This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix strncmp page test to limit length to size of object


On Wed, Apr 6, 2011 at 08:47, Andreas Schwab <schwab@redhat.com> wrote:
> You are mistaken.

Such statements won't help.

If a string is limited it is perfectly fine to specify a longer
length.  This is how it always was meant to be and any implementation
that has problems with it has to be fixed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]