diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2017-09-05 12:41:00 +0000 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2017-09-05 12:41:00 +0000 |
| commit | bd7c45e7a827ed546912b8d7b02d80e820eb3e7b (patch) | |
| tree | 66b4a3c03587caab22ed93b93f5379b3822e522a /llvm/lib | |
| parent | d331cb66f9812c309d5593119cfb25720622ce74 (diff) | |
| download | bcm5719-llvm-bd7c45e7a827ed546912b8d7b02d80e820eb3e7b.tar.gz bcm5719-llvm-bd7c45e7a827ed546912b8d7b02d80e820eb3e7b.zip | |
[Bash-autocomplete] Fix crash when invoking --autocomplete without value.
Summary:
Currently clang segfaults when invoked with `clang --autocomplete=`.
This patch adds the necessary boundary checks and some tests for corner cases like this.
Reviewers: yamaguchi
Reviewed By: yamaguchi
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D37465
llvm-svn: 312533
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

