|new []| better not overflow and crash with g++

Florian Weimer fw@deneb.enyo.de
Tue Nov 25 18:30:00 GMT 2008


* Georgi Guninski:

> once upon a time |calloc(BIG,BIG)| silently overflowed, now it is fixed.
>
> nowadays |new int[bignumber]| overflows as in:

This is PR19351, first reported in 2002 (along with the calloc issue).



More information about the Gcc mailing list