aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@colorado.edu>2011-04-28 18:59:43 +0000
committerLenny Maiorani <lenny@colorado.edu>2011-04-28 18:59:43 +0000
commited2cc6ccbb9b5277f5531c2ae36235559dd284a7 (patch)
treec523556c7a80848f439b907cf40ac93d0edb5b43 /clang/lib/Basic/SourceManager.cpp
parente07425a5e782f362b7d084be34849aa45611d880 (diff)
downloadllvm-ed2cc6ccbb9b5277f5531c2ae36235559dd284a7.zip
llvm-ed2cc6ccbb9b5277f5531c2ae36235559dd284a7.tar.gz
llvm-ed2cc6ccbb9b5277f5531c2ae36235559dd284a7.tar.bz2
Eliminates an assert in the strncpy/strncat checker caused by not validating a cast was successful. If the value of an argument was unknown, the cast would result in a NULL pointer which was later being dereferenced.
This fixes Bugzilla #9806. llvm-svn: 130422
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions