diff options
| author | Will Newton <will.newton@linaro.org> | 2013-08-12 15:08:02 +0100 |
|---|---|---|
| committer | Allan McRae <allan@archlinux.org> | 2013-10-25 23:53:17 +1000 |
| commit | 63e9a36056fe53621fa3001fe22b4833a9ea9457 (patch) | |
| tree | 8855abbfa7b15d8d0161c90b57563e30137e9bd0 /linuxthreads/FAQ.html | |
| parent | a3ed3a127ca30b3b25aab0b441f9f3f0ecc07f7e (diff) | |
| download | glibc-63e9a36056fe53621fa3001fe22b4833a9ea9457.tar.xz glibc-63e9a36056fe53621fa3001fe22b4833a9ea9457.zip | |
malloc: Check for integer overflow in pvalloc.
A large bytes parameter to pvalloc could cause an integer overflow
and corrupt allocator internals. Check the overflow does not occur
before continuing with the allocation.
ChangeLog:
2013-09-11 Will Newton <will.newton@linaro.org>
[BZ #15855]
* malloc/malloc.c (__libc_pvalloc): Check the value of bytes
does not overflow.
(cherry picked from commit 1159a193696ad48ec86e5895f6dee3e539619c0e)
Diffstat (limited to 'linuxthreads/FAQ.html')
0 files changed, 0 insertions, 0 deletions
