Apache OpenOffice (AOO) Bugzilla – Issue 64814
MemoryStreams needs to have ReadOnly StreamMode
Last modified: 2017-05-20 10:48:13 UTC
This is a follow up from 132483. To be able to set a readonly mode we had to switch from a memory stream to a temporary files stream. Because of performance reasons the switch should be taken back by providing a readonly mode to our memory stream.
sj->mba: I hope you are the proper person for this enhancement or are at least knowing who might be responsible.
We need this because damaged files can force seek forwards to huge stream positions and we run out of memory. We need a "read only" memory stream with a fixed size that does not enlarge its buffer when it shall be seeked past end.
setting target
target 3.0
3.x
Reset assigne to the default "issues@openoffice.apache.org".