[PATCH] Fixing where test-strncmp could read beyond page boundary
Richard Henderson
rth@twiddle.net
Tue Dec 20 17:29:00 GMT 2016
On 12/20/2016 09:19 AM, Paul Clarke wrote:
> This change ensures that the "size" passed to strncmp() contains the
> strings within the page.
If there is a known difference or a known EOS before the end of the page, then
SIZE can legitimately be beyond the end of the page and the routine should not
SEGV.
Are you certain you're not removing valid testing for this function?
r~
More information about the Libc-alpha
mailing list