mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-01 04:27:45 +00:00
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. |
||
|---|---|---|
| .. | ||
| blob.c | ||
| diff_helpers.c | ||
| diff_helpers.h | ||
| diffiter.c | ||
| index.c | ||
| iterator.c | ||
| notify.c | ||
| patch.c | ||
| rename.c | ||
| submodules.c | ||
| tree.c | ||
| workdir.c | ||