]> granicus.if.org Git - clang/commit
Fix buffer overflow in PrintMacroDefinition() by inverting the check to see if the...
authorTed Kremenek <kremenek@apple.com>
Tue, 3 Nov 2009 06:18:05 +0000 (06:18 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 3 Nov 2009 06:18:05 +0000 (06:18 +0000)
commit3e27c01eb48c189723b263796d0dbe008b9c95c1
tree5b4a8e9a4bf9bd44e436ee0effa18833fef8f866
parent4f64e5f03149200aaf553d7742966d78b717a32c
Fix buffer overflow in PrintMacroDefinition() by inverting the check to see if the target buffer needs to be resized.  Fixes <rdar://problem/7255377>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85872 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/PrintPreprocessedOutput.cpp