]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lru: fix case when inserting value with larger size than allocated
authorMarek Vavruša <mvavrusa@cloudflare.com>
Wed, 16 May 2018 04:34:00 +0000 (21:34 -0700)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 21 Nov 2018 13:26:59 +0000 (14:26 +0100)
commit695d3895fe148965f7d1fe05c3d64f73849e9ab9
treefa02d19f4926107da177e32cc7cc56ad9bff9c42
parentdac77c7cb18dd14d2b278645edc93cb0c6051ec6
lru: fix case when inserting value with larger size than allocated

This fixes a case when inserting into LRU, and the entry for given
key exists, but has allocated smaller value than what's requested.
lib/generic/lru.c