Avoid reading past the end of a static buffer.
Avoid reading past the end of a static buffer.

llvm::sys::fs::identify_magic takes a StringRef which
was automatically created from a the char[1024] buffer.
To create the StringRef automatically requires a call to
strlen but in this case the buffer is by definition not
null terminated.  We could either null terminate or better
yet just construct explicit the 'right' StringRef.

marsupial/cling,perovic/cling,perovic/cling,karies/cling,perovic/cling,marsupial/cling,root-mirror/cling,karies/cling,marsupial/cling,root-mirror/cling,karies/cling,perovic/cling,marsupial/cling,root-mirror/cling,root-mirror/cling,marsupial/cling,karies/cling,root-mirror/cling,root-mirror/cling,karies/cling,marsupial/cling,karies/cling,perovic/cling