From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22879 invoked by alias); 9 Dec 2008 09:52:22 -0000 Received: (qmail 22869 invoked by uid 22791); 9 Dec 2008 09:52:21 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Dec 2008 09:51:46 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B745F2A967D; Tue, 9 Dec 2008 04:51:44 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id t+WQMExmYtn9; Tue, 9 Dec 2008 04:51:44 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 865922A967B; Tue, 9 Dec 2008 04:51:44 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id ADF5EE7ACD; Tue, 9 Dec 2008 10:51:42 +0100 (CET) Date: Tue, 09 Dec 2008 09:52:00 -0000 From: Joel Brobecker To: Jerome Guitton Cc: gdb-patches@sourceware.org Subject: Re: [RFA/Ada] guard against a malloc failure Message-ID: <20081209095142.GL3823@adacore.com> References: <20081127145701.GB3835@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081127145701.GB3835@adacore.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-12/txt/msg00165.txt.bz2 > 2008-11-27 Jerome Guitton > > * ada-lang.c (ada_template_to_fixed_record_type_1): Check size > of type to guard against a crash. Jerome and I just discussed this patch today, and we think we may have a better solution. Standby... -- Joel