aboutsummaryrefslogtreecommitdiff
path: root/base85.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-08 01:38:12 -0800
committerJunio C Hamano <gitster@pobox.com>2007-11-08 01:43:34 -0800
commit6738c8194286fa0017f72cb57628dcae9ec07b27 (patch)
tree6af8805826bddec635fc079c4e28349104a4faa2 /base85.c
parentb50fa2bd061c3bb21f2918849ece43ac9ca2c504 (diff)
downloadgit-6738c8194286fa0017f72cb57628dcae9ec07b27.tar.gz
git-6738c8194286fa0017f72cb57628dcae9ec07b27.tar.xz
send-pack: segfault fix on forced push
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. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'base85.c')
0 files changed, 0 insertions, 0 deletions