]> git.ipfire.org Git - thirdparty/suricata.git/commit
bypass: af-packet: fix memory leak - reassign of EBPFBypassData
authorLukas Sismis <lukas.sismis@gmail.com>
Sat, 21 May 2022 06:30:06 +0000 (08:30 +0200)
committerVictor Julien <vjulien@oisf.net>
Mon, 13 Jun 2022 18:54:45 +0000 (20:54 +0200)
commit8fa5f3bdd4707e327c346581871c3bd51b8751e4
tree8a3cae2ace1618c2a5e0b8d156424330b4a81c66
parente9b084e8ca505948efec5aa37b9c9331dab6e7a9
bypass: af-packet: fix memory leak - reassign of EBPFBypassData

AF-Packet bypass function in some situations allocates EBPF bypass data
for an already bypassed flow and assigns it to the flow without any checks

Issue: #5368
(cherry picked from commit 8845c07a90ff6ad8304c25f6ccdd495623d35d53)
src/source-af-packet.c