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] Fixing where test-strncmp could read beyond page boundary


On 12/20/2016 10:46 AM, Paul Clarke wrote:
> The 'size' parameter can be used in the implementation of strncmp() to decide
> the loop value for the number of loads.

No, it can't.  I know because I've made that mistake before.


r~


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