Permalink
Browse files

Bug 736387 - [PATCH] Fix a potential null pointer dereference in src/…

…index.cpp
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Sep 23, 2014
1 parent bc95bea commit c22be34fb79588fa04a9cf9c86438c8eb00d81fc
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/index.cpp
View
@@ -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()),

0 comments on commit c22be34

Please sign in to comment.