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]

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


Greetings,

Attached is a trivial fix, and a test case.

Thanks,

2018-04-09  Paul Pluzhnikov  <ppluzhnikov@google.com>

         [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

Attachment: glibc-bz22786-20180409.txt
Description: Text document


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