summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-10-03 20:58:09 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-10-03 20:58:09 +0000
commitbf56beab7eb64a62f0482a3b964720e51f5a4e4e (patch)
treedb95ca255b4c8282ed5c3e622430b5a355da2300 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentb15b97ef9ad80ae57dbd22414ef677888dd4e430 (diff)
downloadbcm5719-llvm-bf56beab7eb64a62f0482a3b964720e51f5a4e4e.tar.gz
bcm5719-llvm-bf56beab7eb64a62f0482a3b964720e51f5a4e4e.zip
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
OpenPOWER on IntegriCloud