[Support/PathV2] Fix out of bounds access in identify_magic when the file is empty.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 19 Jun 2012 05:29:57 +0000 (05:29 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 19 Jun 2012 05:29:57 +0000 (05:29 +0000)
commitb51c8e9bb5769ed17261392ff4222ad3a6668285
tree088d38e2613f28277606050f05325c31a0faf5fb
parentbde801b2a7e20f3de62cacc3ef643cf0ed6e2c27
[Support/PathV2] Fix out of bounds access in identify_magic when the file is empty.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158704 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/PathV2.cpp