diff options
| author | Russell Belfer <rb@github.com> | 2013-05-15 14:50:05 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2013-05-15 14:50:05 -0700 |
| commit | 79ef3be449c9d81dd0b37a30999563aa92e4679e (patch) | |
| tree | 5e4e5d47c1fe3823d4fd2b1c794effcc3263b608 /include/git2/index.h | |
| parent | f0ab73720a4e7a9b37c901a27519ea65eafeb8a6 (diff) | |
| download | libgit2-79ef3be449c9d81dd0b37a30999563aa92e4679e.tar.gz | |
Fix diff crash when last item is untracked dir
When the last item in a diff was an untracked directory that only
contained ignored items, the loop to scan the contents would run
off the end of the iterator and dereference a NULL pointer. This
includes a test that reproduces the problem and a fix.
Diffstat (limited to 'include/git2/index.h')
0 files changed, 0 insertions, 0 deletions
