• fw's avatar
    PR other/54411: integer overflow in objalloc_alloc · 63d6cef5
    fw authored
    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.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191413 138bc75d-0d04-0410-961f-82ee72b054a4
    63d6cef5
ChangeLog 29.1 KB