This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19351] operator new[] can return heap blocks which are too small
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2007 15:00:01 -0000
- Subject: [Bug c++/19351] operator new[] can return heap blocks which are too small
- References: <bug-19351-192@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from mmitchel at gcc dot gnu dot org 2007-03-23 15:00 -------
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?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19351