[PATCH] D37331: [ELF] Prevent crash with binary inputs with non-ascii file names

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 10:43:24 PDT 2017


zturner added a comment.

I'm pretty sure embedded `NUL` is not allowed in a filename on any platform.  That might be one way to write a portable test, if you can find a way to get one into the string here.


https://reviews.llvm.org/D37331





More information about the llvm-commits mailing list