[Bug 235297] devel/ElectricFence: posix_memalign() missing

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 29 14:12:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235297

            Bug ID: 235297
           Summary: devel/ElectricFence: posix_memalign() missing
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: topical at gmx.net

The current implementation doesn't handle posix_memalign(). 

Programs using posix_memalign() to allocate memory effectively silently fall
back to the standard implementation. Whenever the program calls free() to
release the memory, the efence implementation is called and barfs that the
memory is unknown, leading to a core dump.

Sadly, many programs use posix_memalign and thus cannot be debugged with
efence.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list