]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_ipp2p: fix an off-by-one error
authorJeremy Sowden <jeremy@azazel.net>
Mon, 5 Jun 2023 12:17:28 +0000 (21:17 +0900)
committerJan Engelhardt <jengelh@inai.de>
Mon, 5 Jun 2023 20:37:01 +0000 (05:37 +0900)
commit38a85247cf5ee58b08ff4d40712ff5f1fc4b1ebc
tree3ad3c2dee591cf20794f932879feea65e678cbac
parentfa35c296fcc0e160c7fa29536b50e686afebe7d2
xt_ipp2p: fix an off-by-one error

When checking for waste, we check that the packet is at least eight
bytes long and then examine the first nine bytes. Fix the length check.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
extensions/xt_ipp2p.c