HomeFreeBSD

ipmi: fix a use-after-free bug in error handling

Description

ipmi: fix a use-after-free bug in error handling

18db96dbfd4a09063a0abcefd51fa8d2aeb115d6 introduced a use-after-free bug
in the error handling of the IPMICTL_RECEIVE_MSG ioctl.

Reported by: Coverity (CID 1490456) (via vangyzen)
Differential Revision: https://reviews.freebsd.org/D35605

Details

Provenance
philipAuthored on Jul 8 2022, 3:49 AM
Differential Revision
D35605: ipmi: handle ipmb requests
Parents
rGa0b956f5ac5e: zfs: merge openzfs/zfs@cb01da680
Branches
Unknown
Tags
Unknown