HomeFreeBSD

OpenBSM: fix free() in au_read_rec error case

Description

OpenBSM: fix free() in au_read_rec error case

buf is a char ** and *buf is the allocated buffer.

PR: 267050
Reported by: Robert Morris <rtm@lcs.mit.edu>
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

(cherry picked from commit c61b3f7de9a0a39d2bc78e3e78d148c369e706a5)
(cherry picked from commit 889dcb5e9b2ff4160c313b31cfa53106af2a5b0c)

Details

Provenance
emasteAuthored on Oct 24 2022, 1:45 PM
Parents
rG4aee71578a60: ssh: update to OpenSSH 9.1p1
Branches
Unknown
Tags
Unknown