From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18735 invoked by alias); 4 Feb 2009 16:20:35 -0000 Received: (qmail 18686 invoked by uid 22791); 4 Feb 2009 16:20:35 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 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; Wed, 04 Feb 2009 16:20:30 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 447BC2A9656; Wed, 4 Feb 2009 11:20:29 -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 Od0IESdA6BIg; Wed, 4 Feb 2009 11:20:29 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 11B4C2A95E6; Wed, 4 Feb 2009 11:20:29 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 92D02E7ACD; Wed, 4 Feb 2009 08:20:26 -0800 (PST) Date: Wed, 04 Feb 2009 16:20:00 -0000 From: Joel Brobecker To: Jerome Guitton Cc: gdb-patches@sourceware.org Subject: Re: [RFA/Ada] guard against a malloc failure Message-ID: <20090204162026.GC3676@adacore.com> References: <20081127145701.GB3835@adacore.com> <20090204160949.GA35460@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090204160949.GA35460@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: 2009-02/txt/msg00097.txt.bz2 > 2008-02-04 Jerome Guitton > > * ada-lang.c (ada_template_to_fixed_record_type_1): Check size > of type to guard against a crash. > > > OK to apply? Yes, please do! Thank you, -- Joel