From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25541 invoked by alias); 9 Jan 2005 22:25:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25525 invoked by uid 48); 9 Jan 2005 22:25:00 -0000 Date: Sun, 09 Jan 2005 22:25:00 -0000 Message-ID: <20050109222500.25524.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050109221816.19351.fw@deneb.enyo.de> References: <20050109221816.19351.fw@deneb.enyo.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19351] operator new[] can return heap blocks which are too small X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg01144.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-09 22:25 ------- This is undefined behavor. Really there is nothing we can do, just think about this again, the programmer should catch this when they read in the length. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19351