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

--- Comment #2 from radistao <[email protected]> ---
Reviewing the POI sources i found some places which could be considered in the
fix:
1) `PackageHelper#open(InputStream)` (and maybe also `clone()`) is used
directly in `super` and `this` constructor calls for XmlVisioDocument,
XMLSlideShow, XWPFDocument, XSSFWorkbook

2) same for: 
  - POIXMLDocument#openPackage()
  - XSSFWorkbook#newPackage()
  - OPCPackage:
    - open(XXX)
    - openOrCreate(XXX)
    - create(XXXX)

It seems there are a lot of places where `OPCPackage` (or other Closeable local
instances) are wrapped/created and passed as arguments to init methods and
constructor, but not properly handled in case of exceptions.

-- 
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]

Reply via email to