Skip to content

Auto-port 4.1: IpFilter: Fix ClassCastException caused by IpSubnetFilter if only ipv6 rules are configured but remote peer is using ipv4#16822

Merged
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16803-to-4.1
May 18, 2026
Merged

Auto-port 4.1: IpFilter: Fix ClassCastException caused by IpSubnetFilter if only ipv6 rules are configured but remote peer is using ipv4#16822
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16803-to-4.1

Conversation

@netty-project-bot
Copy link
Copy Markdown
Contributor

Auto-port of #16803 to 4.1
Cherry-picked commit: 0ccb265


Motivation:

We did miss an instanceof check which could cause a CCE.

Modifications:

  • Add missing instanceof check
  • Add unit tests

Result:

No more ClassCastException

…6 rules are configured but remote peer is using ipv4 (#16803)

Motivation:

We did miss an instanceof check which could cause a CCE.

Modifications:

- Add missing instanceof check
- Add unit tests

Result:

No more ClassCastException

(cherry picked from commit 0ccb265)
@normanmaurer normanmaurer added this to the 4.1.134.Final milestone May 18, 2026
@normanmaurer normanmaurer merged commit 4f6cc7a into 4.1 May 18, 2026
19 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16803-to-4.1 branch May 18, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants