summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaObjCProperty.cpp
diff options
context:
space:
mode:
authorIvan Krasin <krasin@chromium.org>2016-11-17 00:39:48 +0000
committerIvan Krasin <krasin@chromium.org>2016-11-17 00:39:48 +0000
commitd98f5d78cbe1f5f83833e95d7dea663b9ab69e4b (patch)
treed1acc32d5613fd2d235b086af27ff6757d6ffdd7 /clang/lib/Sema/SemaObjCProperty.cpp
parent48c26b2b1297c1b2e2e1cd67e50c016c652c6c60 (diff)
downloadbcm5719-llvm-d98f5d78cbe1f5f83833e95d7dea663b9ab69e4b.tar.gz
bcm5719-llvm-d98f5d78cbe1f5f83833e95d7dea663b9ab69e4b.zip
Insert a type check before reading vtable.
Summary: this is to prevent a situation when a pointer is invalid or null, but we get to reading from vtable before we can check that (possibly causing a segfault without a good diagnostics). Reviewers: pcc Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26559 llvm-svn: 287181
Diffstat (limited to 'clang/lib/Sema/SemaObjCProperty.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud