Ryan Moeller 4d32abaa87
libzfs: Fix bounds checks for float parsing
UINT64_MAX is not exactly representable as a double.

The closest representation is UINT64_MAX + 1, so we can use a >=
comparison instead of > for the bounds check.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10127
2020-03-16 11:56:29 -07:00
..
2019-08-30 09:43:30 -07:00
2019-10-02 10:39:48 -07:00
2020-01-23 11:01:24 -08:00
2019-08-30 09:43:30 -07:00
2019-11-01 10:31:42 -07:00
2020-03-04 15:07:11 -08:00
2020-02-13 11:24:57 -08:00
2019-10-02 10:39:48 -07:00