diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-03 20:58:09 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-03 20:58:09 +0000 |
commit | 2df1bd44319a60a9beb26511d6e2997a3f4f67ff (patch) | |
tree | abaa97b92ce0717a130b3acb5a60610854c73367 /lib/Frontend/ASTUnit.cpp | |
parent | ddc57332cdc86ed2db28a3b3761b774944937191 (diff) |
Fix invalid reads by memcmp.
Str may be smaller than Start->Name here. Use strncmp to avoid scanning past the
end. Found by valgrind.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions