Closed trolldbois closed 2 months ago
Fixes https://github.com/RedHatProductSecurity/cvelib/issues/87 both json cve data and the schema file must be loaded with json.load(filename, parse_float=decimal.Decimal)
json.load(filename, parse_float=decimal.Decimal)
I'd prefer the solution in #89, which just updates the schema to the latest version that isn't susceptible to the multipleOf issues.
multipleOf
Fixes https://github.com/RedHatProductSecurity/cvelib/issues/87 both json cve data and the schema file must be loaded with
json.load(filename, parse_float=decimal.Decimal)