https://bz.apache.org/bugzilla/show_bug.cgi?id=61295
Bug ID: 61295
Summary: Vector.read -- Java heap space on corrupt file
Product: POI
Version: 3.16-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HPSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 35128
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35128&action=edit
triggering file
I started experimenting with randomly corrupting files based on feedback from
Luis Filipe Nassif [1]. The attached file triggers this:
java.lang.OutOfMemoryError: Java heap space
at org.apache.poi.hpsf.Vector.read(Vector.java:43)
at
org.apache.poi.hpsf.TypedPropertyValue.readValue(TypedPropertyValue.java:219)
at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:174)
at org.apache.poi.hpsf.Property.<init>(Property.java:179)
at org.apache.poi.hpsf.MutableProperty.<init>(MutableProperty.java:53)
at org.apache.poi.hpsf.Section.<init>(Section.java:237)
at org.apache.poi.hpsf.MutableSection.<init>(MutableSection.java:41)
at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:494)
at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:196)
at
org.apache.tika.parser.microsoft.SummaryExtractor.parseSummaryEntryIfExists(SummaryExtractor.java:83)
at
org.apache.tika.parser.microsoft.SummaryExtractor.parseSummaries(SummaryExtractor.java:74)
at
org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:155)
at
org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:131)
[1]
https://issues.apache.org/jira/browse/TIKA-2428?focusedCommentId=16086045&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16086045
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]