Permalink
Browse files

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

…memberdef.cpp
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Aug 30, 2014
1 parent e269181 commit 7a268f59c0551953fe4e7dde0b1e3804d583a060
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/memberdef.cpp
View
@@ -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)

0 comments on commit 7a268f5

Please sign in to comment.