No (modulo bugs). Format strings that have been constructed at runtime
(e.g., using sprintf(), or read from a message catalog) can't pass the
WFORMAT=1 checks, since a different construction might give buffer
overruns or arg mismatches.
Argh, but this code snippet is clearly not in violation of those rules.
But it is. shell_desc is a trivial message catalog which you happen
never to change. In make/job.c, the message catalog is sometimes "read"
from shells[shellnum], but it is read from makefiles for the .SHELL
directive! See jobParseShell() and the make tutorial.
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message