diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-02-24 08:07:19 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-24 08:52:55 (GMT) |
commit | 8c87dc77ae45d7277001b1be2c88ea9062e11d72 (patch) | |
tree | 0d17c0e219aaf5f7df8ab6f2eb84b60741674cbb /archive-tar.c | |
parent | 6c0f86943e9ebba5aa281772e01559773e0c1234 (diff) | |
download | git-8c87dc77ae45d7277001b1be2c88ea9062e11d72.zip git-8c87dc77ae45d7277001b1be2c88ea9062e11d72.tar.gz git-8c87dc77ae45d7277001b1be2c88ea9062e11d72.tar.bz2 |
Protect peel_ref fallback case from NULL parse_object result
If the SHA-1 we are requesting the object for does not exist in
the object database we get a NULL back. Accessing the type from
that is not likely to succeed on any system.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-tar.c')
0 files changed, 0 insertions, 0 deletions