oscerd opened a new pull request, #26894: URL: https://github.com/apache/camel/pull/26894
## Backport of #24817 Cherry-pick of #24817 onto `camel-4.18.x`. **Original PR:** #24817 - CAMEL-24166: Enforce maxDecompressedSize in iterator/splitter mode for zip and tar **Original author:** @Croway **Target branch:** `camel-4.18.x` This is a straight cherry-pick of `aa68003fabf3`. It applied without conflicts, and its added and removed lines are identical to the original commit. Behaviour change on 4.18.x: with `usingIterator=true`, or with `ZipSplitter`/`TarSplitter`, an entry that decompresses to more than `maxDecompressedSize` (default 1 GiB) now fails with an `IOException`, as it already does in the default single-entry mode. The 4.18.5 upgrade-guide note will be added on `main`, where the upgrade guides for all release lines are kept. Testing on `camel-4.18.x`: - `camel-zipfile` (45 tests) and `camel-tarfile` (44 tests) pass, including the four tests added by #24817. - Full reactor build (`mvn clean install -DskipTests`). _Claude Code on behalf of oscerd_ 🤖 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]
