diff options
author | Karl Schimpf <kschimpf@google.com> | 2015-09-03 15:41:34 +0000 |
---|---|---|
committer | Karl Schimpf <kschimpf@google.com> | 2015-09-03 15:41:34 +0000 |
commit | 388fd5ae2fff69406fb8b4a2f9eb2c764cc6c80d (patch) | |
tree | 2e21e0e03397f88b95b2e3c234caa7067a26fc52 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a0daa7394e3c0b3811289684d9f4918a051794f1 (diff) | |
download | llvm-388fd5ae2fff69406fb8b4a2f9eb2c764cc6c80d.zip llvm-388fd5ae2fff69406fb8b4a2f9eb2c764cc6c80d.tar.gz llvm-388fd5ae2fff69406fb8b4a2f9eb2c764cc6c80d.tar.bz2 |
Fix SEGV in InlineAsm::ConstraintInfo::Parse.
Fixes bug 24646. Previous code was not checking if an index into a vector
was valid, resulting in a SEGV. Fixed by assuming the construct can't
be parsed when given this input.
llvm-svn: 246773
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions