https://bz.apache.org/bugzilla/show_bug.cgi?id=69628

--- Comment #3 from jahlborn <jtahlb...@yahoo.com> ---
i tried using the threshold for temp files, but it doesn't solve the problem
because the zip entry has entrySize -1.

as i mentioned, the code in question is line 82 in
org.apache.poi.openxml4j.util.ZipArchiveFakeEntry, where entrySize==-1:

  // Grab the de-compressed contents for later
  data = (entrySize == -1) ? IOUtils.toByteArrayWithMaxLength(inp,
getMaxEntrySize()) :
                    IOUtils.toByteArray(inp, (int)entrySize,
getMaxEntrySize());

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to