aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-03-15 23:09:37 +0000
committerTed Kremenek <kremenek@apple.com>2013-03-15 23:09:37 +0000
commit90d7fa12d0814bca69f95d2c4829391a6cb3935b (patch)
tree9a32c3bc60a887dcfda73b1f879c148825ef221d /clang/lib/Frontend/CompilerInvocation.cpp
parente7b849e4fb7e13a5be299b701d53896168345b15 (diff)
downloadllvm-90d7fa12d0814bca69f95d2c4829391a6cb3935b.zip
llvm-90d7fa12d0814bca69f95d2c4829391a6cb3935b.tar.gz
llvm-90d7fa12d0814bca69f95d2c4829391a6cb3935b.tar.bz2
Fix buffer underrun (invalid read) triggered during diagnostic rendering. The test would overflow when computing '0 - 1'.
I don't have a good testcase for this that does not depend on system headers. It did not trigger with preprocessed output, and I had trouble reducing the example. Fixes <rdar://problem/13324594>. Thanks to Michael Greiner for reporting this issue. llvm-svn: 177201
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions