This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8194: sprintf causes segfaults
- From: pme at gcc dot gnu dot org
- To: finch at clara dot co dot uk, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 11 Oct 2002 00:21:16 -0000
- Subject: Re: c/8194: sprintf causes segfaults
- Reply-to: pme at gcc dot gnu dot org, finch at clara dot co dot uk, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: sprintf causes segfaults
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Thu Oct 10 17:21:16 2002
State-Changed-Why:
This has nothing to do with the compiler. You must
allocate space before attempting to write to it with
sprintf (or anything else).
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8194