author | Pavel Roskin <proski@gnu.org> | |
Wed, 21 Dec 2005 23:47:09 +0000 (18:47 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 22 Dec 2005 01:05:09 +0000 (17:05 -0800) | ||
commit | f4a11066cfb70c49fddbca7f95aa0fedcee53cca | |
tree | cf52739b40edd18594f9b5dc3e7e6b6d5a4ebfa4 | tree | snapshot |
parent | 8ac4838af428a2a32498b3e8d13295eb714654b4 | commit | diff |
sanity check in add_packed_git()
add_packed_git() tries to get the pack SHA1 by parsing its name. It may
access uninitialized memory for packs with short names.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
add_packed_git() tries to get the pack SHA1 by parsing its name. It may
access uninitialized memory for packs with short names.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c | diff | blob | history |