This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sched-vis: prevent visual_tbl overflow
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: sched-vis: prevent visual_tbl overflow
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 5 Dec 2000 14:17:28 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <orofyq5yjj.fsf@guarana.lsd.ic.unicamp.br>
On Tue, Dec 05, 2000 at 07:49:20PM -0200, Alexandre Oliva wrote:
> + sprintf (visual_tbl + strlen (visual_tbl), "%s", prefix);
Please don't use sprintf in place of strcpy.
r~