Skip to content

Pcap: Fix possible buffer leak when initializion fails#15977

Merged
normanmaurer merged 1 commit into
4.1from
pcap41
Dec 4, 2025
Merged

Pcap: Fix possible buffer leak when initializion fails#15977
normanmaurer merged 1 commit into
4.1from
pcap41

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

If initializeIfNecessary(...) fails we still need to ensure that we release the message.

Modifications:

Correctly release message before rethrow or fail promise

Result:

Fix possible buffer leak

Motivation:

If initializeIfNecessary(...) fails we still need to ensure that we release the message.

Modifications:

Correctly release message before rethrow or fail promise

Result:

Fix possible buffer leak
@normanmaurer normanmaurer added this to the 4.1.129.Final milestone Dec 4, 2025
@normanmaurer normanmaurer merged commit 1f4ba6b into 4.1 Dec 4, 2025
18 checks passed
@normanmaurer normanmaurer deleted the pcap41 branch December 4, 2025 19:49
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.

1 participant