kernel version parsing panic
zz85 opened this issue · 2 comments
zz85 commented
a kernel version name like 4.9.266-0.1.ac.225.84.332.metal1.x86_64
causes procfs
to panic here
https://github.com/eminence/procfs/blob/master/src/lib.rs#L303
Line 66 in d8f16dd
one fix is to default to 0 values, another would be to parse the first readable number
zz85 commented
pub patch: u8
also mean that numbers > 255 wouldn't fit
eminence commented
Hi @zz85 and @fabricedesre. Sorry this took so long, but this fix is now released as 0.10.0
.