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

Fix cgroup stats files read logic #60

Merged

Conversation

hughcapet
Copy link
Contributor

@hughcapet hughcapet commented Sep 6, 2023

Usage of sscanf() with the max required param's length specified in the format string as a while condition leads to a stop of the file reading loop as soon as any param name longer than this number is met and to a possibly unset required params' values.

Close #59

Usage of sscanf() with the max required param's length specified in the
format string as a `while` condition leads to a stop of the file reading
loop as soon as any param name longer than this number is met and to a possibly
unset required params' values.
@CyberDem0n CyberDem0n merged commit 9848025 into CyberDem0n:master Sep 6, 2023
12 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.

Memory usage is off in recent version
2 participants