HomeFreeBSD

ipfw(8) crashes when ext6hdr option is omitted

Description

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

Details

Provenance
2khramtsov_gmail.comAuthored on Feb 1 2021, 7:03 PM
kpCommitted on Feb 1 2021, 8:25 PM
Differential Revision
D28447: Fix SIGBUS in ipfw(8) when ext6hdr option is omitted.
Parents
rG38bfc6dee33b: iflib: Free resources in a consistent order during detach
Branches
Unknown
Tags
Unknown