summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2017-01-04 11:24:55 (GMT)
committeralbert-github <albert.tests@gmail.com>2017-01-04 11:24:55 (GMT)
commit0f02761a158a5e9ddbd5801682482af8986dbc35 (patch)
tree847ef95ce09b40aa159f72e14dd0dc5b2ac2d289 /src/xmlgen.cpp
parent5b36add658b1e5ee14acd747ffe2c4ff9c926833 (diff)
downloadDoxygen-0f02761a158a5e9ddbd5801682482af8986dbc35.zip
Doxygen-0f02761a158a5e9ddbd5801682482af8986dbc35.tar.gz
Doxygen-0f02761a158a5e9ddbd5801682482af8986dbc35.tar.bz2
Bug 776791 - [1.8.13 Regression] Segfault building the breathe docs
Protected against NULL pointer of variable al
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index fe95c7a..70e198a 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -620,7 +620,7 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
if (md->isInline()) t << "yes"; else t << "no";
t << "\"";
- if (al->refQualifier!=RefQualifierNone)
+ if (al!=0 && al->refQualifier!=RefQualifierNone)
{
t << " refqual=\"";
if (al->refQualifier==RefQualifierLValue) t << "lvalue"; else t << "rvalue";