commit | 33591af872045194dc00321041affb92810183b4 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed Jul 28 17:14:23 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed Jul 28 17:14:23 2010 +0000 |
tree | b02247daec28a286915db98fc39eb88fe73c4a0e | |
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