Module Name: src Committed By: rillig Date: Mon Dec 27 22:57:26 UTC 2021
Modified Files: src/usr.bin/make: main.c Log Message: make: prevent out-of-bounds read for debug log file name Even though the name of the debug log file currently only occurs in strings of the form '-dFname' or '-dF+name', the code for replacing '%d' with the PID accesses the passed string out of bounds. That's not a problem in practice but looks suspicious anyway. To generate a diff of this commit: cvs rdiff -u -r1.554 -r1.555 src/usr.bin/make/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.