summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-09-23 18:55:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-09-23 18:55:59 (GMT)
commit46e83b44be0c0aa97ead5ee52e329154c1fb47bc (patch)
tree43e7e8e86e2a81e107bf7c9aaa67c3ed0915ad8e /src
parentbe0c23efcb902891e91bed42ab2ac27a6f1460cb (diff)
downloadDoxygen-46e83b44be0c0aa97ead5ee52e329154c1fb47bc.zip
Doxygen-46e83b44be0c0aa97ead5ee52e329154c1fb47bc.tar.gz
Doxygen-46e83b44be0c0aa97ead5ee52e329154c1fb47bc.tar.bz2
Bug 736018 - [PATCH] Fix potential null pointer dereference in src/dbusxmlscanner.cpp
Diffstat (limited to 'src')
-rw-r--r--src/dbusxmlscanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbusxmlscanner.cpp b/src/dbusxmlscanner.cpp
index e841428..aa3cc47 100644
--- a/src/dbusxmlscanner.cpp
+++ b/src/dbusxmlscanner.cpp
@@ -432,7 +432,7 @@ public:
m_currentEnum = 0;
}
- if (EXTENSION("value"))
+ if (EXTENSION("value") && m_currentEnum)
{
CONDITION(!m_currentEntry, "end of value without start");
m_currentEntry->endBodyLine = lineNumber();