author | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Dec 2005 06:57:20 +0000 (22:57 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Dec 2005 22:14:28 +0000 (14:14 -0800) | ||
commit | c5ced64578a82b9d172aceb2f67c6fb9e639f6d9 | |
tree | ce00f33992bbd7be504b6ba1c755fb1ffcca4542 | tree | snapshot |
parent | 1e80e0449248edb77b0fb9853f4a3404a599e207 | commit | diff |
check_packed_git_idx(): check integrity of the idx file itself.
Although pack-check.c had routine to verify the checksum for the
pack index file itself, the core did not check it before using
it.
This is stolen from the patch to tighten packname requirements.
Signed-off-by: Junio C Hamano <junkio@cox.net>
(cherry picked from 797bd6f490c91c07986382b9f268e0df712cb246 commit)
Although pack-check.c had routine to verify the checksum for the
pack index file itself, the core did not check it before using
it.
This is stolen from the patch to tighten packname requirements.
Signed-off-by: Junio C Hamano <junkio@cox.net>
(cherry picked from 797bd6f490c91c07986382b9f268e0df712cb246 commit)
sha1_file.c | diff | blob | history | |
t/t5300-pack-object.sh | diff | blob | history |