This is the mail archive of the
gdb-patches@sourceware.org
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 <tromey@redhat.com> wrote:
>>>>>> ">" == Hui Zhu <teawater@gmail.com> writes:
>
>>> 2011-12-06 ?Hui Zhu ?<teawater@gmail.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.
>
> Tom
Cool! I like it. I will make a patch according to your mail later.
Thanks for your help.
Best,
Hui