diff options
author | Jason Haslam <jason@scitools.com> | 2015-02-14 23:43:26 -0700 |
---|---|---|
committer | Jason Haslam <jason@scitools.com> | 2015-02-14 23:43:26 -0700 |
commit | 8588cb0cbfadcd66061062bd0ab170a1419e006f (patch) | |
tree | 6dd734ff7a7540cc098e9f1ee7e6770841bf7c70 /tests/diff/binary.c | |
parent | 57f45e7f4dd7202607f51292a816a262622e964c (diff) | |
download | libgit2-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