This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/3720: Problems with num_get
- From: Joe Buck <jbuck at synopsys dot COM>
- To: philip at codematters dot co dot uk (Philip Martin)
- Cc: bkoz at redhat dot com (Benjamin Kosnik),schmid at snake dot iap dot physik dot tu-darmstadt dot de (Peter Schmid),gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,philip_martin at ntlworld dot com, mark at codesourcery dot com
- Date: Mon, 10 Dec 2001 17:11:27 -0800 (PST)
- Subject: Re: libstdc++/3720: Problems with num_get
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.