mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 18:31:26 +00:00
If a filename is a multiple of 18 characters, there will be no null-terminator. This will result in an invalid access by the constructed StringRef. Add a test case to exercise this and fix that handling. Address this same vulnerability in llvm-readobj as well. llvm-svn: 206145