From 4091841023c745edcd696af06a872c1affd6e36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 31 Aug 2017 10:49:01 +0100 Subject: [PATCH] ofz#3240: avoid oom in gif loader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifd00962ed607166b5521a3977a3021fb7b24957e Reviewed-on: https://gerrit.libreoffice.org/41747 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- .../graphicfilter/data/gif/fail/too-small-1.gif | Bin 0 -> 3080 bytes vcl/source/filter/igif/gifread.cxx | 13 ++++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 vcl/qa/cppunit/graphicfilter/data/gif/fail/too-small-1.gif diff --git a/vcl/qa/cppunit/graphicfilter/data/gif/fail/too-small-1.gif b/vcl/qa/cppunit/graphicfilter/data/gif/fail/too-small-1.gif new file mode 100644 index 0000000000000000000000000000000000000000..26b35e63b2eb3ab53d592bc5f8bf37ec451ea536 GIT binary patch literal 3080 zcmZ?wbh9u|RDb{-FlEieq`<&HDLc^(Xbuz597Uk{qwLXe7@TQfG>ML8&(Sn6ng&MG dz-Ss6O#`E8fXp<&#V|OVHw-$2+uq