Skip to content

Commit

Permalink
Bug 735477 - [PATCH] Fix a potential null pointer dereference in src/…
Browse files Browse the repository at this point in the history
…memberdef.cpp
  • Loading branch information
Dimitri van Heesch committed Aug 30, 2014
1 parent e269181 commit 7a268f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memberdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3784,7 +3784,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl,
{
MemberListIterator mli(*fmdl);
MemberDef *fmd=mli.current();
bool fmdVisible = fmd->isBriefSectionVisible();
bool fmdVisible = fmd ? fmd->isBriefSectionVisible() : TRUE;
while (fmd)
{
if (fmdVisible)
Expand Down

0 comments on commit 7a268f5

Please sign in to comment.