]> sourceware.org Git - glibc.git/commit
malloc: Check for integer overflow in memalign.
authorWill Newton <will.newton@linaro.org>
Fri, 16 Aug 2013 11:54:29 +0000 (12:54 +0100)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 16 Jan 2015 11:14:54 +0000 (06:14 -0500)
commit9c77803abebe02a99a5329e28627e1ad6d074cfe
tree058549fee26b8e4989c9e481ee1e8d479c38a07e
parent71d84750188dc6e1d45a9d05e40b00c430dc5637
malloc: Check for integer overflow in memalign.

A large bytes parameter to memalign 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 #15857]
* malloc/malloc.c (__libc_memalign): Check the value of bytes
does not overflow.
ChangeLog
This page took 0.039059 seconds and 5 git commands to generate.