summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorJason Haslam <jason@scitools.com>2015-02-14 23:43:26 -0700
committerJason Haslam <jason@scitools.com>2015-02-14 23:43:26 -0700
commit8588cb0cbfadcd66061062bd0ab170a1419e006f (patch)
tree6dd734ff7a7540cc098e9f1ee7e6770841bf7c70 /tests/diff/binary.c
parent57f45e7f4dd7202607f51292a816a262622e964c (diff)
downloadlibgit2-8588cb0cbfadcd66061062bd0ab170a1419e006f.tar.gz
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.
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions