Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test stdlib/test-bz22786 exits now with unsupported if malloc fails. | Stefan Liebler | 2018-08-30 | 1 | -3/+12 |
| | | | | | | | | | | | | | | | | | | The test tries to allocate more than 2^31 bytes which will always fail on s390 as it has maximum 2^31bit of memory. Before commit 6c3a8a9d868a8deddf0d6dcc785b6d120de90523, this test returned unsupported if malloc fails. This patch re enables this behaviour. Furthermore support_delete_temp_files() failed to remove the temp directory in this case as it is not empty due to the created symlink. Thus the creation of the symlink is moved behind malloc. Reviewed-by: Carlos O'Donell <carlos@redhat.com> ChangeLog: * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED if malloc fails. | ||||
* | Fix BZ#23400 (creating temporary files in source tree), and undefined ↵ | Paul Pluzhnikov | 2018-08-24 | 1 | -27/+12 |
| | | | | behavior in test. | ||||
* | Fix BZ 22786: integer addition overflow may cause stack buffer overflow | Paul Pluzhnikov | 2018-05-08 | 1 | -0/+90 |
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. |