src/lib/VSDParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8a41cf290a069fc45d68fb23620ba361acfbe313 Author: Fridrich Å trba <fridrich.st...@bluewin.ch> Date: Sun Jun 30 11:38:34 2013 +0200 Consider the return value of getChunkHeader diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp index 7fec7ec..e528df9 100644 --- a/src/lib/VSDParser.cpp +++ b/src/lib/VSDParser.cpp @@ -414,7 +414,8 @@ void libvisio::VSDParser::handleChunks(WPXInputStream *input, unsigned level) while (!input->atEOS()) { - getChunkHeader(input); + if (!getChunkHeader(input)) + return; m_header.level += level; endPos = m_header.dataLength+m_header.trailer+input->tell();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits