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

libmount: improving robustness in reading kernel messages #3093

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

karelzak
Copy link
Collaborator

  • Ensure data termination from read() function
  • Allocate space for terminator using "sizeof(buf)-1"

* Ensure data termination from read() function
* Allocate space for terminator using "sizeof(buf)-1"

Signed-off-by: Karel Zak <kzak@redhat.com>
@karelzak karelzak merged commit b8a1e1f into util-linux:master Jun 20, 2024
33 checks passed
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.

None yet

1 participant