]> git.ipfire.org Git - thirdparty/suricata.git/commit
pppoe: fix protocol field length variation 7189/head
authorSteven Ottenhoff <steven@mmox.nl>
Thu, 13 Jan 2022 13:05:58 +0000 (13:05 +0000)
committerShivani Bhardwaj <shivanib134@gmail.com>
Wed, 30 Mar 2022 05:35:08 +0000 (11:05 +0530)
commit9b1557b7a77980a36c3743e8b0f02f716053d234
tree012591265b5f7f794b2c4c1c4d843993004d2ac0
parente723ecb1ffaeae162016726ac79ff46c6cbe5741
pppoe: fix protocol field length variation

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

Ticket: 4810
(cherry picked from commit 6bf2117056e8c2e9448a02d2198384935b1d5b70)
src/decode-pppoe.c
src/decode-pppoe.h