Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
gitgitgadget
/
git
Public
forked from
git/git
Notifications
You must be signed in to change notification settings
Fork
196
Star
306
Code
Issues
76
Pull requests
226
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
coverity: fix leaks and error paths
- #2163
#2163
Closed
dscho
wants to merge 12 commits into
gitgitgadget:master
gitgitgadget/git:master
from
dscho:coverity-fixes-leaks-and-error-paths
dscho/git:coverity-fixes-leaks-and-error-paths
Copy head branch name to clipboard
Conversation
Commits
12
(12)
Checks
Files changed
Closed
coverity: fix leaks and error paths
#2163
dscho
wants to merge 12 commits into
gitgitgadget:master
gitgitgadget/git:master
from
dscho:coverity-fixes-leaks-and-error-paths
dscho/git:coverity-fixes-leaks-and-error-paths
Copy head branch name to clipboard
Commits
Commits on Jul 4, 2026
load_one_loose_object_map(): fix resource leak
Show description for 80ae352
dscho
committed
80ae352
View commit details
Copy full SHA for 80ae352
Browse repository at this point
loose: avoid closing invalid fd on error path
Show description for 546a7c5
dscho
committed
546a7c5
View commit details
Copy full SHA for 546a7c5
Browse repository at this point
download_https_uri_to_file(): do not leak fd upon failure
Show description for 17c3b4c
dscho
committed
17c3b4c
View commit details
Copy full SHA for 17c3b4c
Browse repository at this point
run-command: avoid `close(-1)` in `start_command()` error paths
Show description for 0360016
dscho
committed
0360016
View commit details
Copy full SHA for 0360016
Browse repository at this point
line-log: avoid redundant copy that leaks in process_ranges
Show description for 8c623cc
dscho
committed
8c623cc
View commit details
Copy full SHA for 8c623cc
Browse repository at this point
dir: free allocations on parse-error paths in `read_one_dir()`
Show description for 8a8fe2d
dscho
committed
8a8fe2d
View commit details
Copy full SHA for 8a8fe2d
Browse repository at this point
submodule: fix cwd leak in `get_superproject_working_tree()`
Show description for 5397ea7
dscho
committed
5397ea7
View commit details
Copy full SHA for 5397ea7
Browse repository at this point
worktree: fix resource leaks when branch creation fails
Show description for 0048c0c
dscho
committed
0048c0c
View commit details
Copy full SHA for 0048c0c
Browse repository at this point
imap-send: avoid leaking the IMAP upload buffer
Show description for 4048a22
dscho
committed
4048a22
View commit details
Copy full SHA for 4048a22
Browse repository at this point
reftable/table: release filter on error path
Show description for 13ecebc
dscho
committed
13ecebc
View commit details
Copy full SHA for 13ecebc
Browse repository at this point
fsmonitor: plug token-data leak on early daemon-startup failures
Show description for 97049d7
dscho
committed
97049d7
View commit details
Copy full SHA for 97049d7
Browse repository at this point
mingw: make `exit_process()` own the process handle on all paths
Show description for a5a6c27
dscho
committed
a5a6c27
View commit details
Copy full SHA for a5a6c27
Browse repository at this point
You can’t perform that action at this time.