https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274915

--- Comment #7 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=a6246a50b63450d0fe34e3429807bd5aba8cc2ac

commit a6246a50b63450d0fe34e3429807bd5aba8cc2ac
Author:     Kristof Provost <[email protected]>
AuthorDate: 2023-11-08 14:06:15 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2023-11-08 20:58:52 +0000

    pf: fix double free if pf_ioctl_addrule() fails

    If pf_ioctl_addrule() returns an error it will have freed the rule
    itself. There's no need for the caller to free it again.

    PR:             274915
    Reported by:    Dave Cottlehuber <[email protected]>
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")

 sys/netpfil/pf/pf_nl.c | 3 ---
 1 file changed, 3 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to