[Bug 192098] DEBUG_MEMGUARD and INVARIANTS duplicate "double-free" detection logic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 1 16:04:06 UTC 2021


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

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
             Status|New                         |Closed
                 CC|                            |markj at FreeBSD.org

--- Comment #1 from Mark Johnston <markj at FreeBSD.org> ---
memguard targets specific malloc types and zones, whereas UMA does general
use-after-free and double free checking for all zones (with some constraints). 
Compiling memguard into a kernel does not enable it, you have to point it at a
particular zone (which the repro steps don't do).

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


More information about the freebsd-bugs mailing list