diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-03-15 13:51:20 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-03-15 13:51:20 +0100 |
commit | aa479a03390e9a779321fae26146cc1493cdf97c (patch) | |
tree | 5cf09087ee623f507ca32a5bfc54b7aa639ac50b /libvisio/libvisio-0.0.25.patch | |
parent | cd98512fc4c1bf78bd49f674732811d828c5a2b1 (diff) |
Don't fail if the end of characters is reached after a field fdo#62299
Change-Id: Ib5327fe5a88036f718f90cc0e05f287dc1573d03
Diffstat (limited to 'libvisio/libvisio-0.0.25.patch')
-rw-r--r-- | libvisio/libvisio-0.0.25.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libvisio/libvisio-0.0.25.patch b/libvisio/libvisio-0.0.25.patch new file mode 100644 index 000000000000..6294548d1d8f --- /dev/null +++ b/libvisio/libvisio-0.0.25.patch @@ -0,0 +1,14 @@ +--- a/src/lib/VSDContentCollector.cpp ++++ b/src/lib/VSDContentCollector.cpp +@@ -2920,10 +2920,8 @@ void libvisio::VSDContentCollector::appendCharacters(WPXString &text, const std: + while (true) + { + if (iter == characters.end()) +- { +- fail = true; + break; +- } ++ + uint16_t character = *iter++; + character |= (uint16_t)(*iter++) << 8; + if (character == 0xfffc) |