]> 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)
committerMarek Vavruša <mvavrusa@cloudflare.com>
Wed, 16 May 2018 04:40:48 +0000 (21:40 -0700)
commita03a179eea208b84cc5fa3e551ef9083bb34eb1c
tree5e6985d5a7443c7c29c4699a0549c9571043b51a
parent957358d278f06a10667f3f43e000c60d438ae1aa
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