This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


* 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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]