CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/09/24 06:37:11
Modified files:
sys/kern : kern_sysctl.c
Log message:
Fix sleeping race during malloc in sysctl hw.disknames.
When mallocarray(9) sleeps, disk_count can change, and diskstatslen
gets inconsistent. This caused free(9) to panic.
Reported-by: [email protected]
OK deraadt@ mpi@
