]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
OpenBSM: fix free() in au_read_rec error case
authorEd Maste <emaste@FreeBSD.org>
Mon, 24 Oct 2022 13:45:59 +0000 (09:45 -0400)
committerEd Maste <emaste@FreeBSD.org>
Mon, 24 Oct 2022 13:49:30 +0000 (09:49 -0400)
commitc61b3f7de9a0a39d2bc78e3e78d148c369e706a5
tree30a330a0e02a65d8aa0d837acfb09ccc72efc697
parenta9880bfe1181b7a32d026339bae113f24300e5e1
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
contrib/openbsm/libbsm/bsm_io.c