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

2011-09-26 Thread Caolán McNamara
On Fri, 2011-09-23 at 22:36 +0400, Ivan Timofeev wrote: > 2011/9/23 Caolán McNamara : > > Looks sane to me. A good catch, pushed now. > > He-he, I forgot to consider absolutely crazy cases - if > element is empty at all. Should this be fixed? Probably, can't ever be too safe on anything which is

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

2011-09-23 Thread Ivan Timofeev
2011/9/23 Caolán McNamara : > Looks sane to me. A good catch, pushed now. He-he, I forgot to consider absolutely crazy cases - if element is empty at all. Should this be fixed? From b30f382e563675d2ffdf9a241b74c822720e6070 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Fri, 23 Sep 2011 22:31

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

2011-09-23 Thread Caolán McNamara
On Fri, 2011-09-23 at 15:20 +0400, Ivan Timofeev wrote: > This patch fixes crash while processing MathML objects that contain > invalid elements. Looks sane to me. A good catch, pushed now. The sad truth IIRC is that after all the MathML parsing, if there is a alternative-presentation tag (or wh