Skip to content

Fix possible NPE when calling PoolArena.toString()#13393

Merged
normanmaurer merged 1 commit into
4.1from
tostring_npe_fix
May 22, 2023
Merged

Fix possible NPE when calling PoolArena.toString()#13393
normanmaurer merged 1 commit into
4.1from
tostring_npe_fix

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

We did miss a null check and so risk a NPE during generating the String representation of the PoolArena.

Modifications:

Add null checks

Result:

Fixes #13390.

Motivation:

We did miss a null check and so risk a NPE during generating the String representation of the PoolArena.

Modifications:

Add null checks

Result:

Fixes #13390.
@normanmaurer normanmaurer added this to the 4.1.93.Final milestone May 22, 2023
@normanmaurer normanmaurer merged commit 92f67bf into 4.1 May 22, 2023
@normanmaurer normanmaurer deleted the tostring_npe_fix branch May 22, 2023 09:45
normanmaurer added a commit that referenced this pull request May 22, 2023
Motivation:

We did miss a null check and so risk a NPE during generating the String
representation of the PoolArena.

Modifications:

Add null checks

Result:

Fixes #13390.
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.

NettyBlockHoundIntegrationTest.pooledBufferAllocation NPE

1 participant