]> git.99rst.org Git - git.git/commit
Merge branch 'js/coverity-fixes'
authorJunio C Hamano <redacted>
Fri, 17 Jul 2026 06:05:47 +0000 (23:05 -0700)
committerJunio C Hamano <redacted>
Fri, 17 Jul 2026 06:05:47 +0000 (23:05 -0700)
commit347fe8a91b590fb9b423c4312f3d9381b5e20729
tree317d43f5cdadf06b98ba627e96f65fbe3da794f5
parente47f7de7de4b0d78afd46f5f35bb4fcbe5d92003
parent9184231173dea25e922a0ee6ced938c57bca37e5
Merge branch 'js/coverity-fixes'

Various resource leaks, invalid file descriptor closures, and process
handle ownership issues flagged by Coverity have been fixed.

* js/coverity-fixes:
  mingw: make `exit_process()` own the process handle on all paths
  fsmonitor: plug token-data leak on early daemon-startup failures
  reftable/table: release filter on error path
  imap-send: avoid leaking the IMAP upload buffer
  worktree: fix resource leaks when branch creation fails
  submodule: fix cwd leak in `get_superproject_working_tree()`
  dir: free allocations on parse-error paths in `read_one_dir()`
  line-log: avoid redundant copy that leaks in process_ranges
  run-command: avoid `close(-1)` in `start_command()` error paths
  download_https_uri_to_file(): do not leak fd upon failure
  loose: avoid closing invalid fd on error path
  load_one_loose_object_map(): fix resource leak
compat/mingw.c
submodule.c
git clone https://git.99rst.org/PROJECT