summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-03-26 14:38:26 -0700
committerRussell Belfer <rb@github.com>2014-03-26 14:38:26 -0700
commit22df47cbc52107db25368cf0a09d63cc8dddafdb (patch)
tree78c4053629bc5b34abc0626f3d2075ddddcc9837 /include/git2/diff.h
parentf4afcaa0d50bece4a784ce680d92e5c0d1c67785 (diff)
downloadlibgit2-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