K 10 svn:author V 2 se K 8 svn:date V 27 2020-12-10T09:31:05.533435Z K 7 svn:log V 298 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. Reported by: Coverity Scan CID 1437697 MFC after: 3 days END