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

Fixed kmsg plugin parser on 32-bit architectures #9035

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

imorda
Copy link

@imorda imorda commented Jul 3, 2024

When building for 32-bit platforms, long actually means 32-bit integer doesn't match with the uint64_t type that actually stores the parsed values from the input line.
After uptime goes beyond 30 minutes, the strtoul that parses the uptime value fails with ERANGE.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

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.

None yet

1 participant