Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] check_aliased_update: strcpy() instead of strcat() to copy

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:48:57

On Thu, Jun 10, 2010 at 18:43, Thomas Rast [off-list ref] wrote:
da3efdb (receive-pack: detect aliased updates which can occur with
symrefs, 2010-04-19) introduced two strcat() into uninitialized
strings.  The intent was clearly make a copy of the static buffer used
by find_unique_abbrev(), so use strcpy() instead.

Signed-off-by: Thomas Rast <redacted>
Reported-by: Ævar Arnfjörð Bjarmason <redacted>
Tested-by: Ævar Arnfjörð Bjarmason <redacted>

This fixes the problem I was having. Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help