summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-10 15:22:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-10 15:22:18 +0000
commitb972457783f6f992d8ee2fe392609fd4b0c5cf00 (patch)
treedf8f2d9f75c999482e8ae2293ce3cd2fa7920937 /tools
parent91de80a5350b801b10323e65a6f3ee0f7dfb54f5 (diff)
downloadllvm-b972457783f6f992d8ee2fe392609fd4b0c5cf00.tar.gz
llvm-b972457783f6f992d8ee2fe392609fd4b0c5cf00.tar.bz2
llvm-b972457783f6f992d8ee2fe392609fd4b0c5cf00.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions