coverity: CID 971317 Buffer not null terminated
coverity: CID 971317 Buffer not null terminated