diff options
author | Russell Belfer <rb@github.com> | 2014-03-26 14:38:26 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-03-26 14:38:26 -0700 |
commit | 22df47cbc52107db25368cf0a09d63cc8dddafdb (patch) | |
tree | 78c4053629bc5b34abc0626f3d2075ddddcc9837 /include/git2/diff.h | |
parent | f4afcaa0d50bece4a784ce680d92e5c0d1c67785 (diff) | |
download | libgit2-22df47cbc52107db25368cf0a09d63cc8dddafdb.tar.gz |
Fix segfault if gitmodules is invalid
The reload_all call could end up dereferencing a NULL pointer if
there was an error while attempting to load the submodules config
data (i.e. invalid content in the gitmodules file). This fixes it.
Diffstat (limited to 'include/git2/diff.h')
0 files changed, 0 insertions, 0 deletions