From: Ævar Arnfjörð Bjarmason Date: Thu, 10 Jun 2010 19:00:16 GMT Subject: Re: [PATCH] check_aliased_update: strcpy() instead of strcat() to copy Message-ID: In-Reply-To: On Thu, Jun 10, 2010 at 18:43, Thomas Rast 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 > Reported-by: Ævar Arnfjörð Bjarmason Tested-by: Ævar Arnfjörð Bjarmason This fixes the problem I was having. Thanks.