From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19312 invoked by alias); 11 Dec 2001 01:56:11 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 19272 invoked by uid 71); 11 Dec 2001 01:56:09 -0000 Date: Mon, 10 Dec 2001 17:56:00 -0000 Message-ID: <20011211015608.19270.qmail@sources.redhat.com> To: bkoz@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Mark Mitchell Subject: Re: libstdc++/3720: Problems with num_get Reply-To: Mark Mitchell X-SW-Source: 2001-12/txt/msg00599.txt.bz2 List-Id: The following reply was made to PR libstdc++/3720; it has been noted by GNATS. From: Mark Mitchell To: Joe Buck , Philip Martin Cc: Benjamin Kosnik , Peter Schmid , "gcc-bugs@gcc.gnu.org" , "gcc-gnats@gcc.gnu.org" , "gcc-prs@gcc.gnu.org" , "philip_martin@ntlworld.com" Subject: Re: libstdc++/3720: Problems with num_get Date: Mon, 10 Dec 2001 17:36:55 -0800 --On Monday, December 10, 2001 05:11:27 PM -0800 Joe Buck wrote: > Philip Martin writes: > >> Here's a simple patch (with no ABI change I believe) that avoids the >> buffer overflow, it sets failbit intead. > > OK, I sent something very similar to gcc-patches, but it doesn't handle > all the cases; your patch is better. Would you point me at the URL for Philip's patch? Thank you, -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com