Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revision.c: fix possible null pointer arithmetic
mark_tree_uninteresting() dereferences a tree pointer before checking if the pointer is valid. Fix that by doing the check first. Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information