Skip to content

Commit

Permalink
Bug 736387 - [PATCH] Fix a potential null pointer dereference in src/…
Browse files Browse the repository at this point in the history
…index.cpp
  • Loading branch information
Dimitri van Heesch committed Sep 23, 2014
1 parent bc95bea commit c22be34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.cpp
Expand Up @@ -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) static void writeClassTreeForList(OutputList &ol,ClassSDict *cl,bool &started,FTVHelp* ftv,bool addToIndex)
{ {
ClassSDict::Iterator cli(*cl); 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", //printf("class %s hasVisibleRoot=%d isVisibleInHierarchy=%d\n",
// cd->name().data(), // cd->name().data(),
// hasVisibleRoot(cd->baseClasses()), // hasVisibleRoot(cd->baseClasses()),
Expand Down

0 comments on commit c22be34

Please sign in to comment.