mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ipfw(8) crashes when ext6hdr option is omitted
Verify that the option is passed, error out if it's not. The problem can be trivially triggered with `ipfw add allow ext6hdr`. PR: 253169 Reviewed by: kp@ MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28447
This commit is contained in:
parent
38bfc6dee3
commit
682c31db4e
1 changed files with 1 additions and 0 deletions
|
|
@ -4961,6 +4961,7 @@ read_options:
|
|||
break;
|
||||
|
||||
case TOK_EXT6HDR:
|
||||
NEED1("missing extension header");
|
||||
fill_ext6hdr( cmd, *av );
|
||||
av++;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue