Code

packed_object_info_detail(): check for corrupt packfile.
authorJunio C Hamano <junkio@cox.net>
Tue, 18 Apr 2006 00:46:07 +0000 (17:46 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 18 Apr 2006 00:46:07 +0000 (17:46 -0700)
commit2855d58079cd56361879cc03f7c769409bb445e5
tree6d9805126c9f471468a3599493744db6b04f9834
parentbb996614de4fddfa73286479f3c6a901107a2629
packed_object_info_detail(): check for corrupt packfile.

Serge E. Hallyn noticed that we compute how many input bytes are
still left, but did not use it for sanity checking.

Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c