summaryrefslogtreecommitdiff
path: root/stdlib/test-bz22786.c
AgeCommit message (Collapse)Author
2018-05-08Fix BZ 22786: integer addition overflow may cause stack buffer overflowPaul Pluzhnikov
when realpath() input length is close to SSIZE_MAX. 2018-05-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.