CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/04/14 08:15:10
Modified files:
usr.sbin/vmd : virtio.c vmd.c vmm.c
Log message:
vmd(8): zero potential heap pointers before IPC.
vmd sends two large structs over an ipc socket after fork+exec:
vmd_vm and virtio_dev.
Both have heap pointers from being put in TAILQs in the parent
process and both carry some used for setting up imsg event channels.
Zero all these things before send to be safe and not leak deatils
on the parent's address space.
Issue raised by Systopia Team.
ok hshoexer@