Browse Source
The object_id pointers can be NULL for invalid entries. Don't try to dereference them and pass NULL along to fill_tree_descriptor() instead, which handles them just fine. Found with Clang's UBSan. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
René Scharfe
7 years ago
committed by
Junio C Hamano
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue