diff options
author | Will Newton <will.newton@linaro.org> | 2013-10-09 14:41:57 +0100 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2013-10-10 14:52:05 +0100 |
commit | 321e26847188300173a5dc0ca42c2ff7b9bf7a78 (patch) | |
tree | 24b26956b40116bf12a2c6414444b42a14ef243a /sysdeps/ieee754/ldbl-128ibm/e_acosl.c | |
parent | 40fefba1b5b05d05a3a4b48796a1006db90d8f74 (diff) | |
download | glibc-321e26847188300173a5dc0ca42c2ff7b9bf7a78.zip glibc-321e26847188300173a5dc0ca42c2ff7b9bf7a78.tar.gz glibc-321e26847188300173a5dc0ca42c2ff7b9bf7a78.tar.bz2 |
malloc/hooks.c: Correct check for overflow in memalign_check.
A large value of bytes passed to memalign_check can cause an integer
overflow in _int_memalign and heap corruption. This issue can be
exposed by running tst-memalign with MALLOC_CHECK_=3.
ChangeLog:
2013-10-10 Will Newton <will.newton@linaro.org>
* malloc/hooks.c (memalign_check): Ensure the value of bytes
passed to _int_memalign does not overflow.
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/e_acosl.c')
0 files changed, 0 insertions, 0 deletions