From: Junio C Hamano Date: Sun, 19 Jul 2026 17:42:20 +0000 (-0700) Subject: Merge branch 'js/coverity-fixes-null-safety' X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=0b75ef5168c77dacf0172b1eaf6e774c0585f20c;p=git.git Merge branch 'js/coverity-fixes-null-safety' Various code paths have been hardened against potential NULL-pointer dereferences and invalid file descriptor accesses flagged by Coverity. * js/coverity-fixes-null-safety: shallow: give write_one_shallow() its own hex buffer shallow: fix NULL dereference bisect: ensure non-NULL `head` before using it pack-bitmap: handle missing bitmap for base MIDX revision: avoid dereferencing NULL in `add_parents_only()` replay: die when --onto does not peel to a commit bisect: handle NULL commit in `bisect_successful()` mailsplit: move NULL check before first use of file handle reftable/stack: guard against NULL list_file in stack_destroy remote: guard `remote_tracking()` against NULL remote diff: handle NULL return from repo_get_commit_tree() diffcore-break: guard against NULLed queue entries in merge loop --- 0b75ef5168c77dacf0172b1eaf6e774c0585f20c