Module Name: src Committed By: rillig Date: Mon Jul 20 15:15:32 UTC 2020
Modified Files: src/usr.bin/make: var.c Log Message: make(1): fix undefined behavior in :S modifier The expression word + wordLen - leftLen had resulted in an out-of-bounds pointer before. Luckily the heap addresses were high enough in typical applications to prevent a wrap-around. To generate a diff of this commit: cvs rdiff -u -r1.279 -r1.280 src/usr.bin/make/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.