Title: fileops: fix leaking fd in `mmap_ro_file` by pks-t · Pull Request #4201 · libgit2/libgit2 · GitHub
Open Graph Title: fileops: fix leaking fd in `mmap_ro_file` by pks-t · Pull Request #4201 · libgit2/libgit2
X Title: fileops: fix leaking fd in `mmap_ro_file` by pks-t · Pull Request #4201 · libgit2/libgit2
Description: A cross-platform, linkable library implementation of Git that you can use in your application. - fileops: fix leaking fd in `mmap_ro_file` by pks-t · Pull Request #4201 · libgit2/libgit2
Open Graph Description: When the git_futils_mmap_ro_file function encounters an error after the file has been opened, it will do a simple returns. Instead, we should close the opened file descriptor to avoid a leak. This ...
X Description: When the git_futils_mmap_ro_file function encounters an error after the file has been opened, it will do a simple returns. Instead, we should close the opened file descriptor to avoid a leak. This ...
Opengraph URL: https://github.com/libgit2/libgit2/pull/4201
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:07da027d-49b3-12f7-a417-1d7107c4e71e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9544:1DE745:1F3595F:290521E:6A5C98DB |
| html-safe-nonce | 058ce15a0f9a5ee574865db124d001713758dec1ecfb0ff6e90f2dc077101ef0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTQ0OjFERTc0NToxRjM1OTVGOjI5MDUyMUU6NkE1Qzk4REIiLCJ2aXNpdG9yX2lkIjoiMTc3NjE2OTY2NTMyMjMyNjIzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 053c3abd5992307e15a5425e9dfe4e3f4e252a35fe1eb96355c557ec519e6c09 |
| hovercard-subject-tag | pull_request:115470000 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/libgit2/libgit2/4201/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d4abcffcd94b6e95f9ac7b48ac92e8172ba6ab1134db73a5470aedeeb6dc98b3/libgit2/libgit2/pull/4201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4abcffcd94b6e95f9ac7b48ac92e8172ba6ab1134db73a5470aedeeb6dc98b3/libgit2/libgit2/pull/4201 |
| og:image:alt | When the git_futils_mmap_ro_file function encounters an error after the file has been opened, it will do a simple returns. Instead, we should close the opened file descriptor to avoid a leak. This ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pks-t |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width