diff options
| author | Dan Gohman <gohman@apple.com> | 2010-07-28 17:14:23 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-07-28 17:14:23 +0000 |
| commit | 33591af872045194dc00321041affb92810183b4 (patch) | |
| tree | b02247daec28a286915db98fc39eb88fe73c4a0e /lib/Analysis/LibCallSemantics.cpp | |
| parent | 67d0498d533eedab90e5b6399669c420abbde7c6 (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 'lib/Analysis/LibCallSemantics.cpp')
0 files changed, 0 insertions, 0 deletions
