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

procfs 0.9.x cause panic on linux which version number greater than 255 #414

Closed
DCjanus opened this issue Sep 27, 2021 · 2 comments · Fixed by #415
Closed

procfs 0.9.x cause panic on linux which version number greater than 255 #414

DCjanus opened this issue Sep 27, 2021 · 2 comments · Fixed by #415

Comments

@DCjanus
Copy link

DCjanus commented Sep 27, 2021

procfs 0.9.x assume numbers in Linux kernel version is small than 256, and parse text from '/proc/sys/kernel/osrelease' to three u8

And since Linux has been release a version which patch version is 256, this line in procfs 0.9.x would panic.

In the last release of this lib(0.12.0), we are still using the procfs 0.9.x, which would cause panic, if my Linux version number greater than 255.

ref: eminence/procfs#137
ref: #408

@DCjanus
Copy link
Author

DCjanus commented Sep 27, 2021

This change is import to some people, please release a new version.

@lucab
Copy link
Member

lucab commented Sep 27, 2021

Release PR at #415.

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 a pull request may close this issue.

2 participants