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

Michael Meeks michael at kemper.freedesktop.org
Fri Jun 15 12:29:32 PDT 2012


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

New commits:
commit 9bdd7ec9d7e771be6bdaed1ceee916dec51ef719
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>

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