[Libreoffice-commits] .: Branch 'libreoffice-3-5-5' - libvisio/libvisio-0.0.17.patch

Miklos Vajna vmiklos at kemper.freedesktop.org
Mon Jun 18 00:54:55 PDT 2012


 libvisio/libvisio-0.0.17.patch |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 6ad8fcacac45272b0dae94712d90f5f2a8c2e535
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Fri Jun 15 18:15:59 2012 +0200

    Fix another crash in exotic circumstances
    
    Change-Id: If91c33dad811d5c9a34581773f7f6a7f86dd82bd
    Signed-off-by: Michael Meeks <michael.meeks at suse.com>
    Signed-off-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Signed-off-by: Miklos Vajna <vmiklos at suse.cz>

diff --git a/libvisio/libvisio-0.0.17.patch b/libvisio/libvisio-0.0.17.patch
index e998634..524b1e6 100644
--- a/libvisio/libvisio-0.0.17.patch
+++ b/libvisio/libvisio-0.0.17.patch
@@ -24,3 +24,12 @@
    if (format == VSD_TEXT_ANSI)
    {
      while (!pStream->atEOS())
+@@ -2312,6 +2312,8 @@ void libvisio::VSDXContentCollector::endPages(const std::vector<unsigned> &pageO
+ 
+ void libvisio::VSDXContentCollector::_appendUTF16LE(WPXString &text, WPXInputStream *input)
+ {
++  if (!input)
++    return;
+   while (!input->atEOS())
+   {
+     uint16_t high_surrogate = 0;


More information about the Libreoffice-commits mailing list