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

--- Comment #1 from Tim Allison <[email protected]> ---
The actual Vector size that is causing an OOM in Tika is 1,358,954,497 on one
triggering file.  We could arbitrarily set a max_value << Integer.MAX_VALUE, or
we could use a list and then convert that to an array.  If we do the latter,
and there is a corrupt size value, the LittleEndianInputStream will throw an
exception when asked to read beyond what is available in the stream.

I somewhat prefer the second option.  Commit on way...

Happy to go with the first or open to other options...

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