Date: Tue, 20 Jan 2026 04:10:25 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 179832] manual page of mac_from_text suggests incorrect freeing of mac_t type Message-ID: <bug-179832-9-VZAX6vHAfo@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-179832-9@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179832 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f00ebc7eb3a65494749fb85b3fd8f27ea09296ae commit f00ebc7eb3a65494749fb85b3fd8f27ea09296ae Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2025-10-26 15:10:34 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2026-01-20 04:05:37 +0000 libc: fix description issues in mac_text(3)/mac_free(3) mac_text(3) as-written would seem to indicate that a `mac_t` should be freed with free(3), but this isn't the case. One can derive from context from when the change was introduced and COMPATIBILITY that this was intended to talk about *text in `mac_to_text`, so move the comment there. PR: 179832 Co-authored-by: Priit Järv <priit cc ttu ee> (cherry picked from commit 081218b7a2006e5b6783e51f66fd751871ac1272) lib/libc/posix1e/mac_free.3 | 4 ++-- lib/libc/posix1e/mac_text.3 | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-179832-9-VZAX6vHAfo>
