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)
(cherry picked from commit 2b25564af6f9d1303fb92b8dfd3a36f5d7fc3c34)

Approved by: re (gjb)

Details

Provenance
emasteAuthored on Oct 24 2022, 1:45 PM
Parents
rG1ccfac2381c3: sendmail: fix auth with cyrus-sasl-2.1.28
Branches
Unknown
Tags
Unknown