Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
There are multiple implementations of the Saver interface. InputStreamSaver is the main one. It uses a `byte[]` to store the XML before it is saved. This array can overflow. See https://issues.apache.org/jira/browse/XMLBEANS-474.
We might be able to create a new variant of InputStreamSaver that uses a temp file instead.
Attachments
Issue Links
- relates to
-
XMLBEANS-474 NegativeArraySizeException thrown from TextSaver.resize
- Resolved