Home
last modified time | relevance | path

Searched hist:a8676bf3 (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/bsdinstall/partedit/
H A Dpartedit.ca8676bf3 Mon Oct 16 23:25:25 GMT 2023 John Baldwin <jhb@FreeBSD.org> bsdinstall partedit: Use asprintf to build wrapper command for newfs

Don't abuse the message[] static buffer used elsewhere for error
messages to generate the command that actually newfs's each
filesystem. Use asprintf to a more aptly-named 'char *command'
variable to construct the string instead. This avoids potential bugs
from truncation of the command string.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D42239
a8676bf3 Mon Oct 16 23:25:25 GMT 2023 John Baldwin <jhb@FreeBSD.org> bsdinstall partedit: Use asprintf to build wrapper command for newfs

Don't abuse the message[] static buffer used elsewhere for error
messages to generate the command that actually newfs's each
filesystem. Use asprintf to a more aptly-named 'char *command'
variable to construct the string instead. This avoids potential bugs
from truncation of the command string.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D42239