Commit c22be34f authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 736387 - [PATCH] Fix a potential null pointer dereference in src/index.cpp

parent bc95beac
......@@ -800,9 +800,9 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex)
static void writeClassTreeForList(OutputList &ol,ClassSDict *cl,bool &started,FTVHelp* ftv,bool addToIndex)
{
ClassSDict::Iterator cli(*cl);
for (;cli.current(); ++cli)
ClassDef *cd;
for (;(cd=cli.current());++cli)
{
ClassDef *cd=cli.current();
//printf("class %s hasVisibleRoot=%d isVisibleInHierarchy=%d\n",
// cd->name().data(),
// hasVisibleRoot(cd->baseClasses()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment