[patch] Fix path length overflow in realpath (BZ#22786)
Paul Pluzhnikov
ppluzhnikov@google.com
Tue Apr 10 14:54:00 GMT 2018
On Tue, Apr 10, 2018 at 1:08 AM Andreas Schwab <schwab@suse.de> wrote:
> Trying to allocate a block of INT_MAX+1 is rather likely to fail on a
> 32-bit platform.
But that's the only way to test for this overflow AFAICT.
Should I submit the fix without the test?
Should I submit the fix and the test, but disabled?
Should I change the test to pass if allocation fails?
Thanks,
--
Paul Pluzhnikov
More information about the Libc-alpha
mailing list