HomeFreeBSD

ipfilter: Fix ip_nat memory leak and use-after-free

Description

ipfilter: Fix ip_nat memory leak and use-after-free

Unfortunately the wrong elemet is freed, also resulting in use-after-free.

PR: 255859
Submitted by: lylgood@foxmail.com
Reported by: lylgood@foxmail.com
MFC after: 3 days

Details

Provenance
cyAuthored on May 25 2021, 6:54 PM
Parents
rGd72cd275187c: Bump __FreeBSD_version to 1400015 for LinuxKPI changes.
Branches
Unknown
Tags
Unknown