Blame doxygen-1.9.1-crash_in_docparser.patch
|
Than Ngo |
a5c95a |
diff -up doxygen-1.9.1/src/docparser.cpp.me doxygen-1.9.1/src/docparser.cpp
|
|
Than Ngo |
a5c95a |
--- doxygen-1.9.1/src/docparser.cpp.me 2021-02-10 10:52:09.481086282 +0100
|
|
Than Ngo |
a5c95a |
+++ doxygen-1.9.1/src/docparser.cpp 2021-02-10 10:55:32.418781686 +0100
|
|
Than Ngo |
a5c95a |
@@ -951,7 +951,7 @@ static void handlePendingStyleCommands(D
|
|
Than Ngo |
a5c95a |
children.append(new DocStyleChange(parent,g_nodeStack.count(),sc->style(),sc->tagName(),FALSE));
|
|
Than Ngo |
a5c95a |
g_initialStyleStack.push(sc);
|
|
Than Ngo |
a5c95a |
g_styleStack.pop();
|
|
Than Ngo |
a5c95a |
- sc = g_styleStack.top();
|
|
Than Ngo |
97ec84 |
+ sc = !g_styleStack.isEmpty() ? g_styleStack.top() : 0;
|
|
Than Ngo |
a5c95a |
}
|
|
Than Ngo |
a5c95a |
}
|
|
Than Ngo |
a5c95a |
}
|