Messages in this thread | | | Date | Mon, 7 Dec 2009 08:10:08 +0100 | From | Ingo Molnar <> | Subject | Re: Minor optimization in parse_subsystem_tracepoint_event |
| |
* Ulrich Drepper <drepper@redhat.com> wrote:
> Uses of strcat are almost always signs that someone is too lazy to think > about the code a bit more carefully. One always has to know about the > lengths of the strings involved to avoid buffer overflows. > > This is one case where the size of the object code for me is reduced by > 38 bytes. The code should also be faster, especially if flags is non-NULL. > > Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Applied, thanks a lot Ulrich!
Ingo
| |