Fix global overflow in types::lookupTypeForTypeSpecifier.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 28 Feb 2013 07:53:32 +0000 (07:53 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 28 Feb 2013 07:53:32 +0000 (07:53 +0000)
commit00eef441ff25e096ba04ce25fca6ba726b5d5051
treed9e033cdbc75a8dec2db6ceebcc0b2097ef3fc57
parent1052c99f46ae2fcd842c4313056f924f3da95b97
Fix global overflow in types::lookupTypeForTypeSpecifier.

memcpy() is allowed to read entire contents of both memory areas.

Found with AddressSanitizer.

llvm-svn: 176237
clang/lib/Driver/Types.cpp