summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-08-30 17:20:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-30 17:20:13 (GMT)
commite21aaadb920775f431a27957542da80e39d0c947 (patch)
treec6606c48cb9f45c75d84c44c5b8fa4e11e56bd82 /src
parent1e8a69902a2cbb3118e6de5959223b9c8d3a843a (diff)
downloadDoxygen-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.cpp2
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())