]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR other/54411: integer overflow in objalloc_alloc
authorFlorian Weimer <fweimer@redhat.com>
Tue, 18 Sep 2012 08:34:05 +0000 (10:34 +0200)
committerFlorian Weimer <fw@gcc.gnu.org>
Tue, 18 Sep 2012 08:34:05 +0000 (10:34 +0200)
commited770de906725cde105e3b70fbfde825f713a689
treea72ef177002760bf83db64fa7e7131d153c945a0
parent4d3999876e3c70b0d6bea7884b24953404055778
PR other/54411: integer overflow in objalloc_alloc

2012-09-18  Florian Weimer  <fweimer@redhat.com>

PR other/54411
* objalloc.h (objalloc_alloc): Do not use fast path on wraparound.

2012-09-18  Florian Weimer  <fweimer@redhat.com>

PR other/54411
* objalloc.c (_objalloc_alloc): Add overflow check covering
alignment and CHUNK_HEADER_SIZE addition.

From-SVN: r191413
include/ChangeLog
include/objalloc.h
libiberty/ChangeLog
libiberty/objalloc.c