Re: [PATCH] send-pack: segfault fix on forced push
From: Jeff King <hidden> Date: 2016-06-15 22:43:48
On Thu, Nov 08, 2007 at 01:38:12AM -0800, Junio C Hamano wrote:
When pushing to overwrite a ref that points at a commit we do
not even have, the recent "terse push" patch tried to get a
unique abbreviation for the non-existent (from our point of
view) object, which resulted in strcpy(buf, NULL) and
segfaulted.
Good catch. The fix looks obviously correct.
-Peff