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=3D225626 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=3Drevision&revision=3D325865 This patch fixing kldstat kernel stack bytes leak. I see no reason why it w= as 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. --=20 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>