HomeFreeBSD

Properly NUL-terminate the on-stack buffer for reading /boot.config

Description

Properly NUL-terminate the on-stack buffer for reading /boot.config
or /boot/config. In qemu, on a warm boot, the stack is not all zeroes
and we parse beyond the file's contents.

Obtained from: Juniper Networks, Inc.

Details

Provenance
marcelAuthored on
Parents
rS272784: Integrate usr.bin/grep/tests from NetBSD into atf/kyua
Branches
Unknown
Tags
Unknown

Event Timeline