]> granicus.if.org Git - clang/commit
[clang-format] Fix crash in getLengthToMatchingParen
authorKrasimir Georgiev <krasimir@google.com>
Tue, 22 May 2018 09:46:55 +0000 (09:46 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Tue, 22 May 2018 09:46:55 +0000 (09:46 +0000)
commita96a9be6e7f2e6eee5e2527db1a1bc2f399076cc
tree60e70d63ef4c2e1d145ca8a567c3fa91ed268a23
parent7f399dc6590356f5ed6e8daa2c5611baceb1356d
[clang-format] Fix crash in getLengthToMatchingParen

Summary:
Found by oss-fuzz:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8212

Reviewers: bkramer

Subscribers: klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D47191

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332961 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/ContinuationIndenter.cpp