[Bug 225626] r325865 malloc vs bzero

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 2 12:13:57 UTC 2018


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

            Bug ID: 225626
           Summary: r325865 malloc vs bzero
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: aler at playground.ru

https://svnweb.freebsd.org/base?view=revision&revision=325865

This patch fixing kldstat kernel stack bytes leak. I see no reason why it was
required to use malloc() and make the code slightly more complicated while it
was enough just to add bzero() for structs in question and not using heap
allocations at all.

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


More information about the freebsd-bugs mailing list