K 10 svn:author V 6 kevans K 8 svn:date V 27 2020-12-30T01:14:53.662425Z K 7 svn:log V 390 Lift scope of buf[] to make it extend to a potential access via *basename It can be assumed that the contents of the buffer was still allocated and valid at the point of the out-of-scope access, so there was no security issue in practice. (cherry picked from commit 7483b9e4dcfb4c444f8b5d54117fb6c8c48c20e9) Git Hash: 929eb23231d5e5b19b57b7a514c7ff99d79967dc Git Author: se@FreeBSD.org END