Fix race in git_packfile_unpack.
Increment refcount of newly added cache entries just like existing entries looked up from the cache. Otherwise the new entry can be evicted from the cache and destroyed while it's still in use.
Showing
Please
register
or
sign in
to comment