diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-30 17:20:13 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-30 17:20:13 (GMT) |
commit | e21aaadb920775f431a27957542da80e39d0c947 (patch) | |
tree | c6606c48cb9f45c75d84c44c5b8fa4e11e56bd82 /src | |
parent | 1e8a69902a2cbb3118e6de5959223b9c8d3a843a (diff) | |
download | Doxygen-e21aaadb920775f431a27957542da80e39d0c947.zip Doxygen-e21aaadb920775f431a27957542da80e39d0c947.tar.gz Doxygen-e21aaadb920775f431a27957542da80e39d0c947.tar.bz2 |
Bug 735483 - [PATCH] Fix a potential null pointer dereference in src/searchindex.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/searchindex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp index a550eb1..27674c2 100644 --- a/src/searchindex.cpp +++ b/src/searchindex.cpp @@ -444,7 +444,7 @@ SearchIndexExternal::~SearchIndexExternal() static QCString definitionToName(Definition *ctx) { - if (ctx->definitionType()==Definition::TypeMember) + if (ctx && ctx->definitionType()==Definition::TypeMember) { MemberDef *md = (MemberDef*)ctx; if (md->isFunction()) |