[patch] Fix path length overflow in realpath (BZ#22786)

Paul Pluzhnikov ppluzhnikov@google.com
Tue May 8 15:46:00 GMT 2018


On Tue, May 8, 2018 at 8:29 AM Andreas Schwab <schwab@suse.de> wrote:

> > The (stack) allocated buffer is large enough

> Is it?  The condition is about the limit of the buffer being written,
> and about overflow missing the limit.

Oops, I mixed up this patch with the other overflow (BZ 20419).
You are absolutely right. Will retest and commit shortly.

Thanks,
-- 
Paul Pluzhnikov



More information about the Libc-alpha mailing list