]> git.ipfire.org Git - thirdparty/suricata.git/commit
packetpool: fix uaf in debug validation check 7793/head
authorVictor Julien <vjulien@oisf.net>
Tue, 30 Aug 2022 11:08:05 +0000 (13:08 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 30 Aug 2022 11:08:18 +0000 (13:08 +0200)
commitbb2e11108b3ce5351f3abf45777c47fca37936af
tree8e3c5c11e28b97cc8dd4d5cc07e9d9b1329d6324
parentb0ce55c9df285ebeddd58ff35dd3f3ef15589671
packetpool: fix uaf in debug validation check

Location of the check meant access to freed packet was possible.

Move check and simplify it to just look at the packet at hand.
src/tmqh-packetpool.c