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

bug: fix crashes for kernel patch versions > 255 #575

Merged
merged 2 commits into from
Sep 12, 2021
Merged

Conversation

ClementTsang
Copy link
Owner

@ClementTsang ClementTsang commented Sep 12, 2021

Description

A description of the change and what it does. If relevant (such as any change that modifies the UI), please provide screenshots of the change:

Fixes a panic caused by the procfs library where it would crash for kernel patch versions > 255.

Issue

If applicable, what issue does this address?

Closes: #574

Testing

If relevant, please state how this was tested. All changes must be tested to work:

Furthermore, mark which platforms this change was tested on. All platforms directly affected by the change must be tested

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • Documentation has been added/updated if needed (README.md, help menu, etc.)
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts

Solved by updating procfs to 0.10.1. Thanks to hasali19 for finding and
looking into this!
@ClementTsang ClementTsang merged commit aabbc4f into master Sep 12, 2021
@ClementTsang ClementTsang deleted the fix_procfs branch September 12, 2021 17:48
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.

Panic with "Failed to parse patch version"
1 participant