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 | bf56beab7eb64a62f0482a3b964720e51f5a4e4e (patch) | |
| tree | db95ca255b4c8282ed5c3e622430b5a355da2300 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | b15b97ef9ad80ae57dbd22414ef677888dd4e430 (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.
llvm-svn: 165157
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
