This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] Fix tracepoint create_tsv_from_upload sprintf crash
On Tue, Dec 6, 2011 at 23:43, Tom Tromey <email@example.com> wrote:
>>>>>> ">" == Hui Zhu <firstname.lastname@example.org> writes:
>>> 2011-12-06 ?Hui Zhu ?<email@example.com>
>>> ? ? ?* tracepoint.c (create_tsv_from_upload): Change sprintf to snprintf.
> How about using xstrprintf instead?
> Then the name can be as long as you like.
Cool! I like it. I will make a patch according to your mail later.
Thanks for your help.