Skip to content

Fix MemoryPool free NPE#9591

Merged
JackieTien97 merged 1 commit intomasterfrom
MemoryPoolNPE
Apr 12, 2023
Merged

Fix MemoryPool free NPE#9591
JackieTien97 merged 1 commit intomasterfrom
MemoryPoolNPE

Conversation

@JackieTien97
Copy link
Contributor

We should only assign value to bufferRetainedSizeInBytes in SinkChannel after it's opened, otherwise we may encounter NPE while this sinkChannel is aborted before it's opened.
image

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 5 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 381 Code Smells

0.0% 0.0% Coverage
35.6% 35.6% Duplication

@JackieTien97 JackieTien97 merged commit 0843ffa into master Apr 12, 2023
@JackieTien97 JackieTien97 deleted the MemoryPoolNPE branch April 12, 2023 09:29
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