Also check for NUL termination at the first character of tstr in
authorbluhm <bluhm@openbsd.org>
Mon, 10 Jul 2017 07:10:29 +0000 (07:10 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 10 Jul 2017 07:10:29 +0000 (07:10 +0000)
commitcde1cf7166bde68d57a0ddda08b707734adec5b1
treed4403c97ae61de0abb8585861a1aa70323141087
parent2d6f02cb4ba70ffa8126235615ec39046764a31d
Also check for NUL termination at the first character of tstr in
the error path of VarModifiers_Apply().  This prevents a sporadic
crash in make's regress target t41.
OK espie@
usr.bin/make/varmodifiers.c