[PATCH] D46527: Object: Find terminator correctly when getting long filenames from GNU archives
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 8 09:05:04 PDT 2018
pcc added a comment.
> I made an input file exactly 4096 bytes long and without any null bytes after the string, but I was not able to make it reliably crash :-(
It could be that your file was not being memory mapped. See: http://llvm-cs.pcc.me.uk/lib/Support/MemoryBuffer.cpp#323
Repository:
rL LLVM
https://reviews.llvm.org/D46527
More information about the llvm-commits
mailing list