[Libreoffice] [PATCH] Fix for fdo#39898: don't crash on some invalid MathML objects

Ivan Timofeev timofeev.i.s at gmail.com
Fri Sep 23 04:30:15 PDT 2011


Oh, I'm sorry... There is sawdust in my head...
Correction to previous message:

...in EndElement we can see:

if (pScriptNode->GetToken().aText.Len())

and in MiddleElement:

if (pScriptNode && ((pScriptNode->GetToken().eType != TIDENT) ||
(pScriptNode->GetToken().aText.Len())))

In method EndElement variable pScriptNode becomes NULL if number of
elements is odd. ...


More information about the LibreOffice mailing list