aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-diff/DifferenceEngine.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-28 17:14:23 +0000
committerDan Gohman <gohman@apple.com>2010-07-28 17:14:23 +0000
commit33591af872045194dc00321041affb92810183b4 (patch)
treeb02247daec28a286915db98fc39eb88fe73c4a0e /tools/llvm-diff/DifferenceEngine.cpp
parent67d0498d533eedab90e5b6399669c420abbde7c6 (diff)
When user code intentionally dereferences null, the alignment of the
dereference is theoretically infinite. Put a cap on the computed alignment to avoid overflow, noticed by John Regehr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-diff/DifferenceEngine.cpp')
0 files changed, 0 insertions, 0 deletions