]> git.99rst.org Git - git.git/commit
Merge branch 'js/coverity-fixes-null-safety'
authorJunio C Hamano <redacted>
Sun, 19 Jul 2026 17:42:20 +0000 (10:42 -0700)
committerJunio C Hamano <redacted>
Sun, 19 Jul 2026 17:42:20 +0000 (10:42 -0700)
commit0b75ef5168c77dacf0172b1eaf6e774c0585f20c
treead0b8bd60f570d3dff82edefcdfb0f134ca070ae
parentcc82eafc48607b20ebbf7aeb39e67a4a331a0836
parent764255357846d79f9f960cd0bf0cdbbe21ed0f72
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
pack-bitmap.c
reftable/stack.c
replay.c
revision.c
shallow.c
t/t0410-partial-clone.sh
git clone https://git.99rst.org/PROJECT