-
Notifications
You must be signed in to change notification settings - Fork 1.8k
out_oracle_log_analytics: fix use-after-free on flush failure #10189
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
Conversation
leonardo-albertovich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 1202 was clearly bad but please remove the new error message, it doesn't add anything as there already is another generic message that gets emitted when this happens.
|
Thank you! |
|
One more thing, would it be possible for you to clean up the commit history (I assume by force pushing?) to remove the superfluous commits? |
|
I'm sharing the guidelines in case they help you amend your PR : https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes |
Signed-off-by: rghouzra <[email protected]>
bd212b4 to
7a8bbf0
Compare
This pull request includes a small but important change to the
cb_oci_logan_flushfunction in theoci_logan.cfile. The change improves error handling by logging an error message when the flush operation fails instead of destroying the configuration context.plugins/out_oracle_log_analytics/oci_logan.c: Modified thecb_oci_logan_flushfunction to log an error message with the failure code instead of destroying the configuration context when the flush operation fails.