On Tue, Apr 17, 2018 at 2:01 PM Joseph Myers wrote: > On Mon, 9 Apr 2018, Paul Pluzhnikov wrote: > > +# suppress warnings about allocation size. > > +CFLAGS-test-bz22786.c += $(+gcc-nowarn) > Warnings should be disabled as locally as possible in the sources Revised patch attached. Thanks, 2018-04-17 Paul Pluzhnikov [BZ #22786] * stdlib/canonicalize.c (__realpath): Fix overflow in path length computation. * stdlib/Makefile (test-bz22786): New test. * stdlib/test-bz22786.c: New test. -- Paul Pluzhnikov