Skip to content

in_tail: fix disposal order to prevent use after free #10251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

leonardo-albertovich
Copy link
Collaborator

This PR fixes the disposal order of the multiline log event encoder and multiline components when removing a file from in_tails watch in order to prevent a use after free.

Note: This PR is a backport of PR #10237

Signed-off-by: Leonardo Alminana <leonardo.alminana@chronosphere.io>
@leonardo-albertovich leonardo-albertovich changed the base branch from master to 3.2 April 25, 2025 06:44
@lecaros lecaros added this to the Fluent Bit v3.2.11 milestone Apr 25, 2025
@edsiper edsiper merged commit 50e82b3 into 3.2 Apr 25, 2025
2 of 3 checks passed
@edsiper edsiper deleted the leonardo-3.2-10237-backport branch April 25, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants