Skip to content

Comments

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

Merged
edsiper merged 1 commit intomasterfrom
leonardo-master-tail-multiline-uaf-fix
Apr 22, 2025
Merged

in_tail: fix disposal order to prevent use after free#10237
edsiper merged 1 commit intomasterfrom
leonardo-master-tail-multiline-uaf-fix

Conversation

@leonardo-albertovich
Copy link
Contributor

This PR inverts the disposal of the multiline encoder and multiline contexts when removing a file in the tail input plugin in order to prevent a use after free.

Signed-off-by: Leonardo Alminana <leonardo.alminana@chronosphere.io>
@edsiper edsiper merged commit fcde7f9 into master Apr 22, 2025
51 checks passed
@edsiper edsiper deleted the leonardo-master-tail-multiline-uaf-fix branch April 22, 2025 21:58
@edsiper edsiper added this to the Fluent Bit v4.0.1 milestone Apr 22, 2025
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.

2 participants