summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Archive/ArchiveReader.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-11 17:25:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-11 17:25:45 +0000
commit823de7cd4c981d1dd3c4aca9fdbf68286545f7de (patch)
tree750c62098f4560c1fb9a20b03f8b7bfa13f0eaf6 /llvm/lib/Archive/ArchiveReader.cpp
parent9b404295a9f32736a35c227f7db70657ece0c808 (diff)
downloadbcm5719-llvm-823de7cd4c981d1dd3c4aca9fdbf68286545f7de.tar.gz
bcm5719-llvm-823de7cd4c981d1dd3c4aca9fdbf68286545f7de.zip
Port r183666 to identify_magic.
It will be tested in the next commit which moves another user to identify_magic. Original message: Fix an out of bounds array access. We were looking at Magic[5] without checking Length. Since this path would not return unless Length >= 18 anyway, just move the >= 18 check up. llvm-svn: 183753
Diffstat (limited to 'llvm/lib/Archive/ArchiveReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud