This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sched-vis: prevent visual_tbl overflow


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]