sd/qa/unit/data/ppt/pass/hang-5.ppt |binary sd/source/filter/ppt/pptin.cxx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-)
New commits: commit d269afa92d524eaf0e0236aadde9cea90ccaa18c Author: Caolán McNamara <caol...@redhat.com> Date: Thu Aug 27 13:35:37 2015 +0100 avoid hang in certain ppts Change-Id: Iedba71b72fc815b274ca5e0da0903a558947cb06 (cherry picked from commit 90dc4e38928fffc3ed5fcbed40109712eb97e203) Reviewed-on: https://gerrit.libreoffice.org/18089 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/sd/qa/unit/data/ppt/pass/hang-5.ppt b/sd/qa/unit/data/ppt/pass/hang-5.ppt new file mode 100644 index 0000000..cfaa8f4 Binary files /dev/null and b/sd/qa/unit/data/ppt/pass/hang-5.ppt differ diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index ddf80f1..8651c68 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -2544,7 +2544,7 @@ SdrObject* ImplSdPPTImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi DffRecordHeader& rHdClientData = *maShapeRecords.Current(); while( true ) { - sal_uInt32 nClientDataLen = rHdClientData.GetRecEndFilePos(); + sal_uInt32 nClientDataLen = SanitizeEndPos(rSt, rHdClientData.GetRecEndFilePos()); DffRecordHeader aHd; do {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits