From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11601 invoked by alias); 24 May 2002 17:16:10 -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 11556 invoked by uid 71); 24 May 2002 17:16:05 -0000 Date: Fri, 24 May 2002 10:27:00 -0000 Message-ID: <20020524171605.11554.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Phil Edwards Subject: Re: libstdc++/6784: SEGV using istream >> operator under gcc-3.1/sun-sparc-solaris2.6 Reply-To: Phil Edwards X-SW-Source: 2002-05/txt/msg00781.txt.bz2 List-Id: The following reply was made to PR libstdc++/6784; it has been noted by GNATS. From: Phil Edwards To: Benjamin Kosnik Cc: Andrew Pollard , bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/6784: SEGV using istream >> operator under gcc-3.1/sun-sparc-solaris2.6 Date: Fri, 24 May 2002 13:13:01 -0400 On Fri, May 24, 2002 at 09:27:42AM -0700, Benjamin Kosnik wrote: > > > #0 0xff30c620 in number () from /usr/lib/libc.so.1 > > #1 0xff30c290 in __doscan_u () from /usr/lib/libc.so.1 > > #2 0xff310e90 in sscanf () from /usr/lib/libc.so.1 > > Ooooh yeah. I remember this. This is a bug in libc's sscanf and extreme > input. You'll have to talk to Sun. I should put this in the system-specific FAQs, then. The nearest bug I could find in Sun's contract database was 4517988, which is SPARC-specific (i.e., x86/Solaris works) and present in Solaris 8. It causes sscanf to segv on long input. I assume that's the bug we're talking about here, although the reported didn't experience it on Sol 8. Phil -- If ye love wealth greater than liberty, the tranquility of servitude greater than the animating contest for freedom, go home and leave us in peace. We seek not your counsel, nor your arms. Crouch down and lick the hand that feeds you; and may posterity forget that ye were our countrymen. - Samuel Adams