summaryrefslogtreecommitdiff
path: root/test/testsuite.h
AgeCommit message (Expand)Author
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-08-14Proper support for tests spannint multiple .o filesEric Andersen
2001-01-20Reworked all test suite makefiles (man did they need it).Eric Andersen
2000-11-04Fix doc blunder.Eric Andersen
2000-10-04Major facelift on the test area -- the beginnings of some real testingEric Andersen
ommit/libc/string/memrchr.c?h=v1.0.28&id=7343bd6a49c5e3fe622f0bf473c124947d5e1210'>7343bd6a49c5e3fe622f0bf473c124947d5e1210 (patch) tree918626406e3a7b0700e00a4de836fdb2343e6d9d /libc/string/memrchr.c parentad21b95c97cdb8741922d163f132e9c726c2ce5b (diff)
malloc/memalign: avoid integer overflow
Check that the size passed to memalign() is not greater than PTRDIFF_MAX before adjusting it, otherwise it may wrap around in the adjustment. This fixes gcc testsuite test gcc.dg/torture/pr60092.c Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libc/string/memrchr.c')
0 files changed, 0 insertions, 0 deletions