Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid a segmentation fault with renaming merges
Under very particular circumstances, merge-recursive's `add_cacheinfo()` function gets a `NULL` returned from `refresh_cache_entry()` without expecting it, and subsequently passes it to `add_cache_entry()` which consequently crashes. Let's not crash. This fixes #952 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
- Loading branch information