aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/PathSensitive/ExplodedGraph.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-03-05 19:08:55 +0000
committerTed Kremenek <kremenek@apple.com>2008-03-05 19:08:55 +0000
commit596f0a1e54f610926e8bfded9efa1c639f824ded (patch)
treeb5d15a8f7f24fb3d367cc9d870df41f3185809ed /include/clang/Analysis/PathSensitive/ExplodedGraph.h
parent8ecfc85b9b7a6ec8efdcc4c03296506a13c4b5cd (diff)
Fixed a horribly insidious bit-masking bug in the implementation of
ExplodedNode that would occasionally result in heap corruption. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/ExplodedGraph.h')
-rw-r--r--include/clang/Analysis/PathSensitive/ExplodedGraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/ExplodedGraph.h b/include/clang/Analysis/PathSensitive/ExplodedGraph.h
index ca76c48387..c1dc2224f8 100644
--- a/include/clang/Analysis/PathSensitive/ExplodedGraph.h
+++ b/include/clang/Analysis/PathSensitive/ExplodedGraph.h
@@ -51,7 +51,7 @@ protected:
uintptr_t P;
unsigned getKind() const {
- return P & Mask;
+ return P & 0x1;
}
void* getPtr() const {