Currently clang segfaults when invoked with clang --autocomplete=.
This patch adds the necessary boundary checks and some tests for corner cases like this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D37465
[Bash-autocomplete] Fix crash when invoking --autocomplete without value. ClosedPublic Authored by teemperor on Sep 5 2017, 3:58 AM.
Details Summary Currently clang segfaults when invoked with clang --autocomplete=.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 5 2017, 5:06 AM Closed by commit rL312533: [Bash-autocomplete] Fix crash when invoking --autocomplete without value. (authored by teemperor). · Explain WhySep 5 2017, 5:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 113842 cfe/trunk/lib/Driver/Driver.cpp
cfe/trunk/test/Driver/autocomplete.c
|