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

Fridrich Strba fridrich at kemper.freedesktop.org
Fri Jun 15 09:19:26 PDT 2012


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

New commits:
commit 32ad77ac1449c53e3c8af7d0c93e16d1066f5ecd
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

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