commit | 7f5aa4f35e23fd37425b3a5041737cdf58f87385 | [log] [tgz] |
---|---|---|
author | Xi Wang <xi.wang@gmail.com> | Wed Mar 14 02:48:39 2012 -0400 |
committer | Elliott Hughes <enh@google.com> | Mon May 07 10:50:21 2012 -0700 |
tree | 297292e79911ba15c8b6e0faf1a9c0bc6710f0ba | |
parent | 73a6566da337db50cfc73c369d774ac1905a30c2 [diff] |
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-0607). Change-Id: Id899bcd2bcd2ea2205e5753c433390710032dc83 Signed-off-by: Xi Wang <xi.wang@gmail.com>