]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/validate: fixed memory bug
authorMarek Vavrusa <marek@vavrusa.com>
Wed, 4 May 2016 00:17:53 +0000 (17:17 -0700)
committerMarek Vavrusa <marek@vavrusa.com>
Wed, 4 May 2016 00:17:53 +0000 (17:17 -0700)
commit797a6c43a0e7095f761a048fbf26c0f12d149acf
tree45e3c3c189a39027aeb7b551b728ce2c651844b0
parente61c48efba458d0997efb9a79943d01bbf1d692b
lib/validate: fixed memory bug

this code used memory pool of source packet instead
of the answer, this could result in invalidated
memory read if the memory occupied by source
packet was rewritten
lib/layer/validate.c