From ed770de906725cde105e3b70fbfde825f713a689 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 18 Sep 2012 10:34:05 +0200 Subject: PR other/54411: integer overflow in objalloc_alloc 2012-09-18 Florian Weimer PR other/54411 * objalloc.h (objalloc_alloc): Do not use fast path on wraparound. 2012-09-18 Florian Weimer PR other/54411 * objalloc.c (_objalloc_alloc): Add overflow check covering alignment and CHUNK_HEADER_SIZE addition. From-SVN: r191413 --- libiberty/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libiberty/ChangeLog') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 9afed435855..9540b4808c5 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2012-09-18 Florian Weimer + + PR other/54411 + * objalloc.c (_objalloc_alloc): Add overflow check covering + alignment and CHUNK_HEADER_SIZE addition. + 2011-08-28 H.J. Lu * argv.c (dupargv): Replace malloc with xmalloc. Don't check -- cgit v1.2.1