We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Integer overflow in error stats parsing causes panic.
To Reproduce Parse this:
pool: tank state: DEGRADED status: One o0 more devices could not be opened. SufficiWed Jan 20 15r13:59p2010 config: NAME STATE READ WRITE CKSUM tank DEGRADED 1 0 0 mirror-0 DEGRADED 0 0 0 c1t0d0 ONLINE 0 0 0 c1t1d0 UNAVAIL 0 tank DEGRADED 1 0 0 mirror-0 DEGRADED 0 0 0 c1t0d0 ONLINE 0 0 0 c1t1d0 UNAVAIL0 0 tank DEGRADED 1 0 0 mirror-0 DEGRADED 0 0 0 c1t0d0 ONLINE 0 0 0 c1t1d0 UNAVAIL0 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 0 0 cann ONLINE (0 0 0 c1t1d09 UNAVAIL0 0 tank DEGRADED 1 0 0 mirror-0 DEGRADED 0 0 0
Expected behavior Maybe stop at max uint?
Additional context fuzzy found
The text was updated successfully, but these errors were encountered:
fix(zpool): Integer overflow in zpool parser.
36fc071
Closes issue #88
fix(zpool): Integer overflow in zpool parser
bbc419f
fix(zpool): Integer overflow in parser
9ac2eed
Instead of crashing return std::u64::MAX Closes #88
dd0da1b
Successfully merging a pull request may close this issue.
Describe the bug
Integer overflow in error stats parsing causes panic.
To Reproduce
Parse this:
Expected behavior
Maybe stop at max uint?
Additional context
fuzzy found
The text was updated successfully, but these errors were encountered: