Skip to content
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

[8.14](backport #4910) Fix issue with log_writer panic on line with all spaces #4915

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 12, 2024

What does this PR do?

Fixes an issue where the log_writer.go can panic in the case it hits a line that is all spaces that becomes empty.

Why is it important?

Should not panic and crash.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • [ ] I have added an integration test or an E2E test

Related issues


This is an automatic backport of pull request #4910 done by [Mergify](https://mergify.com).

* Fix #4907.

* Add changelog.

* Apply suggestions from code review

Co-authored-by: Julien Lind <[email protected]>

---------

Co-authored-by: Julien Lind <[email protected]>
(cherry picked from commit 3df9f8b)
@mergify mergify bot requested a review from a team as a code owner June 12, 2024 17:21
@mergify mergify bot added the backport label Jun 12, 2024
@mergify mergify bot requested review from blakerouse and michel-laterman and removed request for a team June 12, 2024 17:21
@blakerouse blakerouse merged commit 5d35e16 into 8.14 Jun 12, 2024
15 checks passed
@blakerouse blakerouse deleted the mergify/bp/8.14/pr-4910 branch June 12, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant