diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-23 18:55:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-23 18:55:59 (GMT) |
commit | 46e83b44be0c0aa97ead5ee52e329154c1fb47bc (patch) | |
tree | 43e7e8e86e2a81e107bf7c9aaa67c3ed0915ad8e /src | |
parent | be0c23efcb902891e91bed42ab2ac27a6f1460cb (diff) | |
download | Doxygen-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.cpp | 2 |
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(); |