llvm-project
6ae0e6d5 - Don't crash when given an empty input filename. (#184718)

Commit
1 day ago
Don't crash when given an empty input filename. (#184718) Commands such as `clang -- ''` hit two different crash bugs: a buffer overflow caused by using a `memcmp` that might be larger than the input, and a bogus assert in the option parser when attempting typo correction.
Author
Parents
Loading