summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer/BitcodeWriter.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 /lib/Bitcode/Writer/BitcodeWriter.cpp
parent67d0498d533eedab90e5b6399669c420abbde7c6 (diff)
downloadllvm-33591af872045194dc00321041affb92810183b4.tar.gz
llvm-33591af872045194dc00321041affb92810183b4.tar.bz2
llvm-33591af872045194dc00321041affb92810183b4.tar.xz
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/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions