GeezerVison is showing github.com — Auto-port 5.0: Bzip2: Correctly detect overflow during block size bound check by netty-project-bot · Pull Request #17272 · netty/netty
Conversation
Auto-port of #17261 to 5.0
Cherry-picked commit: 4b8e8a8
Motivation:
We did not correctly detect the overflow and so did end up throwing an ArrayIndexOutOfBoundsException while we should have thrown an DecompressionException
Modifications:
- Correctly detect the overflow
- Add unit test
Result:
Throw correct exception
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Motivation:
We did not correctly detect the overflow and so did end up throwing an
ArrayIndexOutOfBoundsException while we should have thrown an
DecompressionException
Modifications:
- Correctly detect the overflow
- Add unit test
Result:
Throw correct exception
(cherry picked from commit 4b8e8a8)
testlens-app
Bot
commented
Aug 12, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
🚨 TestLens detected 1 failed test 🚨
Here is what you can do:
- Inspect the test failures carefully.
- If you are convinced that some of the tests are flaky, you can mute them below.
- Finally, trigger a rerun by checking the rerun checkbox.
Test Summary
| Test |
Runs |
Flakiness |
| OpenSslCertificateCompressionTest |
❌ |
0% 🟢 |
| Test |
Runs |
Flakiness |
| PooledLittleEndianDirectByteBufTest > testCopyMultipleThreads0() |
⚠️ |
0% 🟢 |
🏷️ Commit: 1321c3f
▶️ Tests: 189479 executed
⚪️ Checks: 12/12 completed
Test Failures
OpenSslCertificateCompressionTest (Netty/Handler in Build PR / linux-x86_64-java25-unsafe-buffer build)
java.lang.IllegalStateException: Possible memory leak detected for resource scope 'OpenSslCertificateCompressionTest'. Please use paranoid leak detection to get more information, or set -Dio.netty.util.LeakPresenceDetector.trackCreationStack=true
at io.netty.util.LeakPresenceDetector$ResourceScope.check(LeakPresenceDetector.java:308)
at io.netty.util.LeakPresenceDetector$ResourceScope.close(LeakPresenceDetector.java:328)
at io.netty.util.test.LeakPresenceExtension.afterAll(LeakPresenceExtension.java:140)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.tryRemoveAndExec(ForkJoinPool.java:1490)
at java.base/java.util.concurrent.ForkJoinPool.helpJoin(ForkJoinPool.java:2248)
at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:499)
at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:666)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1450)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2019)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
PooledLittleEndianDirectByteBufTest > testCopyMultipleThreads0() (Netty/Buffer in Build PR / windows-x86_64-java25-boringssl)
java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:259)
at java.base/java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:437)
at io.netty.buffer.AbstractByteBufTest$31.run(AbstractByteBufTest.java:2379)
at java.base/java.lang.Thread.run(Thread.java:1474)
Muted Tests
Select tests to mute in this pull request:
- OpenSslCertificateCompressionTest
- PooledLittleEndianDirectByteBufTest > testCopyMultipleThreads0()
Reuse successful test results:
- ♻️ Only rerun the tests that failed or were muted before
Click the checkbox to trigger a rerun:
Learn more about TestLens at testlens.app.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.