diff options
author | Matthew DeVore <matvore@google.com> | 2018-12-05 13:43:46 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-06 10:10:13 +0900 |
commit | 4cf67869b2ae3df7ab76b03c627f7b72d18d24ce (patch) | |
tree | a6e33d75471168a4f47d5237c36517879d40c16e /Documentation/RelNotes/1.7.1.2.txt | |
parent | Sixth batch for 2.20 (diff) | |
download | tgif-4cf67869b2ae3df7ab76b03c627f7b72d18d24ce.tar.xz |
list-objects.c: don't segfault for missing cmdline objects
When a command is invoked with both --exclude-promisor-objects,
--objects-edge-aggressive, and a missing object on the command line,
the rev_info.cmdline array could get a NULL pointer for the value of
an 'item' field. Prevent dereferencing of a NULL pointer in that
situation.
Properly handle --ignore-missing. If it is not passed, die when an
object is missing. Otherwise, just silently ignore it.
Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.1.2.txt')
0 files changed, 0 insertions, 0 deletions