GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bzip2: Correctly detect overflow during block size bound check by normanmaurer · Pull Request #17261 · netty/netty

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Aug 11, 2026

Copy link
Copy Markdown
Member

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.

All reactions
@normanmaurer
Bzip2: Correctly detect overflow during block size bound check
e14d8aa
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
@normanmaurer

normanmaurer commented Aug 11, 2026

Copy link
Copy Markdown
Member Author

Thanks to @rajivraj for reporting

rajivraj reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer
normanmaurer requested review from chrisvest and yawkat August 11, 2026 13:45
@normanmaurer normanmaurer added this to the 4.2.18.Final milestone Aug 11, 2026
@normanmaurer normanmaurer added needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Aug 11, 2026
@testlens-app

testlens-app Bot commented Aug 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: e14d8aa
▶️ Tests: 452031 executed
⚪️ Checks: 23/23 completed


Learn more about TestLens at testlens.app.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chrisvest
chrisvest approved these changes Aug 12, 2026
View reviewed changes
@normanmaurer
normanmaurer merged commit 4b8e8a8 into 4.2 Aug 12, 2026
24 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer
normanmaurer deleted the bzip_overflow branch August 12, 2026 17:06
@netty-project-bot

netty-project-bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 4.1.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot

netty-project-bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Auto-port PR for 5.0: #17272

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot netty-project-bot mentioned this pull request Aug 12, 2026
Auto-port 5.0: Bzip2: Correctly detect overflow during block size bound check #17272
Merged
@github-actions github-actions Bot removed the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Aug 12, 2026
@normanmaurer

normanmaurer commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

Port for 4.1 #17273

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

normanmaurer added a commit that referenced this pull request Aug 13, 2026
@netty-project-bot @normanmaurer
Auto-port 5.0: Bzip2: Correctly detect overflow during block size bou…
dccb26b
…nd check (#17272)

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

Co-authored-by: Norman Maurer <[email protected]>
normanmaurer added a commit that referenced this pull request Aug 13, 2026
@normanmaurer
Bzip2: Correctly detect overflow during block size bound check (#17261)…
c50a6bc
… (#17273)

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
@lhotari lhotari mentioned this pull request Sep 10, 2026
[fix][sec] Upgrade Netty to 4.2.18 to address several CVEs and bugs apache/pulsar#26514
Merged
2 of 11 tasks
@normanmaurer normanmaurer mentioned this pull request Oct 1, 2026
child5 #17695
Closed
@normanmaurer normanmaurer removed the needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. label Oct 16, 2026
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
@normanmaurer @lltopk
Bzip2: Correctly detect overflow during block size bound check (netty…
46acf3d
…#17261) (netty#17273)

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
@normanmaurer normanmaurer mentioned this pull request Oct 26, 2026
crisp nova cceda091 #18109
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chrisvest chrisvest chrisvest approved these changes
@yawkat yawkat Awaiting requested review from yawkat

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.2.18.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@normanmaurer @netty-project-bot @chrisvest
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.