Date: Fri, 02 Feb 2018 12:13:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225626] r325865 malloc vs bzero Message-ID: <bug-225626-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: aler@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225626-8>
