Bug 57272

Summary: [PATCH]: Deadlock on corrupted PPT file
Product: POI Reporter: thaichat04 <hong-thai.nguyen>
Component: HSLFAssignee: POI Developers List <dev>
Severity: major    
Priority: P2    
Version: 3.11-dev   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: patch to fixing deadlock
Corrupted PPT file causing deadlock

Description thaichat04 2014-11-27 13:06:25 UTC
Created attachment 32232 [details]
patch to fixing deadlock

On given file, POI HSLF loops infinitely on HSLFSlideShow. Patch provided.
Comment 1 thaichat04 2014-11-27 13:07:07 UTC
Created attachment 32233 [details]
Corrupted PPT file causing deadlock
Comment 2 Andreas Beeker 2014-12-06 16:59:21 UTC
The patch.tar.gz doesn't contain a patched class, i.e. there's no patch in the patch.txt  nor in one of the subdirs.

Please check and attach it again.

Btw. Libre Office empties all slides and PPT-Viewer doesn't show it at all.
Comment 3 Andreas Beeker 2014-12-07 14:36:13 UTC
Thank you for reporting the deadlock.
I've applied a patch with r1643680