[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 11:03:32 PDT 2017
zturner added a comment.
Maybe by using a unicode filename whose utf-8 encoding has an embedded zero somewhere? Given that we're just processing each character as a byte instead of as a proper unicode character, that should work, no?
https://reviews.llvm.org/D37331
More information about the llvm-commits
mailing list