summaryrefslogtreecommitdiff
path: root/libvisio/libvisio-0.0.17.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libvisio/libvisio-0.0.17.patch')
-rw-r--r--libvisio/libvisio-0.0.17.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/libvisio/libvisio-0.0.17.patch b/libvisio/libvisio-0.0.17.patch
index e998634b410e..524b1e6cae8d 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;