Title: Fix segfault when reading reflog with extra newlines by srajko · Pull Request #2 · nodegit/libgit2 · GitHub
Open Graph Title: Fix segfault when reading reflog with extra newlines by srajko · Pull Request #2 · nodegit/libgit2
X Title: Fix segfault when reading reflog with extra newlines by srajko · Pull Request #2 · nodegit/libgit2
Description: This addresses the issue mentioned in libgit2#3458 where git_reflog_read segfaults when reading a reflog that has a newline in the middle of a reflog message. It is a subset of libgit2#3463, limited to fixing the segfault. I'm posting this as a separate NodeGit PR in case we want to avoid the segfault until the full libgit2#3463 gets merged. Rebased on top of https://github.com/libgit2/libgit2/tree/maint/v0.23 as per #1.
Open Graph Description: This addresses the issue mentioned in libgit2#3458 where git_reflog_read segfaults when reading a reflog that has a newline in the middle of a reflog message. It is a subset of libgit2#3463, limite...
X Description: This addresses the issue mentioned in libgit2#3458 where git_reflog_read segfaults when reading a reflog that has a newline in the middle of a reflog message. It is a subset of libgit2#3463, limite...
Opengraph URL: https://github.com/nodegit/libgit2/pull/2
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eef8e31e-b357-d8f1-087f-0bf6821d22c5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AC76:7F9F4:222E03:2E5817:6A60FE3D |
| html-safe-nonce | b6f5976ca5b8d35c9576020544591db9f1e094e09aebb1556dbc3e047e06734a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzc2OjdGOUY0OjIyMkUwMzoyRTU4MTc6NkE2MEZFM0QiLCJ2aXNpdG9yX2lkIjoiMzQ3MTkxNTI3NTk2ODkwNDc2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fc6e70f6310aaffb09a693a62070a8784f6c8f4d57b972603bc6afc00dae268c |
| hovercard-subject-tag | pull_request:48115677 |
| 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/nodegit/libgit2/pull/2/files |
| twitter:image | https://avatars.githubusercontent.com/u/291007?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/291007?s=400&v=4 |
| og:image:alt | This addresses the issue mentioned in libgit2#3458 where git_reflog_read segfaults when reading a reflog that has a newline in the middle of a reflog message. It is a subset of libgit2#3463, limite... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9029e642b81338577ec563d0cede79b18d6f1471b9ecdd8e364313b9cc67dd06 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodegit/libgit2 git https://github.com/nodegit/libgit2.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 30660191 |
| octolytics-dimension-repository_nwo | nodegit/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 901662 |
| octolytics-dimension-repository_parent_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0af5dc40dcb0f82accd92a80d9517702c13746f0 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width