Repository navigation
Update libgit2 to include segfault fix for git_reflog_read - #759
Conversation
|
@tbranyen There is an outstanding PR that includes this fix (libgit2/libgit2#3463) - this is the most critical part of that PR as it fixes a segfault. It is also probably the safest part - it only changes a The idea behind this PR was to get the segfault fixed in NodeGit until the upstream PR gets merged and released. |
|
Definitely not interested in maintaining a forked version of libgit2. I'd say make another PR to However, until that lands I'm ok with using a fork as a temporary work around. |
|
@tbranyen you cool with me merging this? |
|
What is really fixing the problem? Changing malloc to calloc? That's fishy a bit. |
|
@saper There is an explanation in libgit2/libgit2#3458 (comment)... it breaks down like this: When we do When using calloc instead of malloc, |
Update libgit2 to include segfault fix for git_reflog_read

Applies the changes from nodegit/libgit2#2 to NodeGit.