This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/Ada] guard against a malloc failure
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jerome Guitton <guitton at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 9 Dec 2008 10:51:42 +0100
- Subject: Re: [RFA/Ada] guard against a malloc failure
- References: <20081127145701.GB3835@adacore.com>
> 2008-11-27 Jerome Guitton <guitton@adacore.com>
>
> * 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