CVS: cvs.openbsd.org: src

Dave Voutila <[email protected]> Fri, 24 Jul 2026 07:48:17 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/24 07:48:17

Modified files:
	usr.sbin/vmd   : loadfile_elf.c 

Log message:
vmd(8): initialize the direct-boot argument page.

In vmd's ELF loader, the boot args page is copied into guest memory
from the stack without complete initialization. Initialize to zero
to prevent leaking stack values into guest memory.

Report and diff by Andrew Griffiths.

ok hshoexer@