]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/cache: fixed reinsert of invalidated record
authorMarek Vavrusa <marek@vavrusa.com>
Fri, 27 May 2016 21:06:11 +0000 (14:06 -0700)
committerMarek Vavrusa <marek@vavrusa.com>
Fri, 27 May 2016 21:20:06 +0000 (14:20 -0700)
commit92994c35bc67e1811f037826011cc663fc3d0424
tree40433b373205fbf25cafd00b8b8286f1db6df13f
parent9259b2735ceac17789d114277d3478081c4c15d7
lib/cache: fixed reinsert of invalidated record

when opening an empty database, an invalidated key
value was written resulting in possible corruption
of the cache
daemon/main.c
lib/cache.c
tests/test_cache.c