pjfanning opened a new pull request, #1567: URL: https://github.com/apache/poi/pull/1567
The static `RLEDecompressingInputStream.decompress(byte[])` and `decompress(byte[], int, int)` methods decompress MS-OVBA data in full, with no limit on the output size. MS-OVBA data can expand to several hundred times its compressed size. Nothing in POI calls these methods. - Javadoc added for both methods, noting that the output size is not limited - Both deprecated (`@deprecated POI 6.0.1`, `@Removal(version = "7.0.0")`), pointing to `new RLEDecompressingInputStream(InputStream)` read with a limit, e.g. `IOUtils.toByteArrayWithMaxLength` - `TestRLEDecompressingInputStream` now uses a local helper instead of the deprecated methods 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
