GeezerVison is showing github.com — HAProxy: Reject HAProxyMessages with malformated TLV and not leak memory by normanmaurer · Pull Request #16866 · netty/netty
Conversation
normanmaurer
commented
Jun 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Motivation:
We need to verify that the contained length actually is valid before retaining the buffer as otherwise we will leak memory.
Modifications:
- Verify length is valid
- Only retain buffer if we not throw exceptio
- Add unit test
Result:
Ensure we never leak memory when handling invalid messages
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Motivation:
We need to verify that the contained length actually is valid before retaining the buffer as otherwise we will leak memory.
Modifications:
- Verify length is valid
- Only retain buffer if we not throw exceptio
- Add unit test
Result:
Ensure we never leak memory when handling invalid messages
normanmaurer
changed the title
HAProxy: Reject HAProxyMessages with malformated TLV and not leak memory Motivation:
HAProxy: Reject HAProxyMessages with malformated TLV and not leak memory
Jun 1, 2026
Uh oh!
There was an error while loading. Please reload this page.
|
Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.