HomeFreeBSD

mac_veriexec_parser: Fix open_file error handling

Description

mac_veriexec_parser: Fix open_file error handling

NDFREE_PNBUF should be called after checking the return value of
vn_open(), and should only be called once.

Reviewed by: imp, zlei, Kornel Dulęba <mindal@semihalf.com>, Elliott Mitchell
Pull Request: https://github.com/freebsd/freebsd-src/pull/1338

Details

Provenance
Heyang Zhou <hello@su3.io>Authored on Jul 22 2024, 5:43 PM
impCommitted on Fri, Sep 20, 3:22 PM
Parents
rG674b96f58b9c: netstat: Add missing "shutdown-ack-timer" key to libxo output
Branches
Unknown
Tags
Unknown