------- Comment #12 from fw at deneb dot enyo dot de 2007-03-23 15:23 ------- Subject: Re: operator new[] can return heap blocks which are too small
* mmitchel at gcc dot gnu dot org: > What does the C standard say about calloc? That's a similar case; the > multiplication is in calloc. Does it have to report an error? My interpretation is that it must return NULL. (This was fixed in GNU libc years ago.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19351