]> git.ipfire.org Git - thirdparty/suricata.git/commit
pppoe: fix protocol field length variation
authorSteven Ottenhoff <steven@mmox.nl>
Thu, 13 Jan 2022 13:05:58 +0000 (13:05 +0000)
committerVictor Julien <vjulien@oisf.net>
Mon, 17 Jan 2022 11:56:15 +0000 (12:56 +0100)
commit6bf2117056e8c2e9448a02d2198384935b1d5b70
treefae319be120981177d1b125fdc83ea77018298b3
parent260bc03603808b848891e9cfe1737d8468a16232
pppoe: fix protocol field length variation

Detect when protocol field is not a 16 bit field.
Added tests to prove logic

Ticket: 4810
src/decode-pppoe.c
src/decode-pppoe.h