[Bug 275646] security/samhain: don't use sbrk
Date: Sat, 09 Dec 2023 00:18:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275646
Bug ID: 275646
Summary: security/samhain: don't use sbrk
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: brooks@FreeBSD.org
CC: freebsd@gregv.net
CC: freebsd@gregv.net
Flags: maintainer-feedback?(freebsd@gregv.net)
Created attachment 246920
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246920&action=edit
patch to remove sbrk use
Samhain has an internal malloc implementation that uses sbrk and malloc.
There's a fallback during initialization if sbrk fails so replace sbrk calls
with a function that return the failure value ((void *)-1).
--
You are receiving this mail because:
You are the assignee for the bug.