Skip to content

Auto-port 4.1: Native DNS resolver: Guard against malloc failures#16584

Merged
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16559-to-4.1
Mar 31, 2026
Merged

Auto-port 4.1: Native DNS resolver: Guard against malloc failures#16584
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16559-to-4.1

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16559 to 4.1
Cherry-picked commit: 211accf


Motivation:

We missed to guard against malloc failures which could lead to UB.

Modifications:

Add guard against malloc failures

Result:

More robust implementation of createDynamicMethodsTable(...) and no UB

Motivation:

We missed to guard against malloc failures which could lead to UB.

Modifications:

Add guard against malloc failures

Result:

More robust implementation of createDynamicMethodsTable(...) and no UB

(cherry picked from commit 211accf)
@normanmaurer normanmaurer added this to the 4.1.133.Final milestone Mar 31, 2026
@normanmaurer normanmaurer merged commit 7eb496a into 4.1 Mar 31, 2026
19 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16559-to-4.1 branch March 31, 2026 19:39
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