Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
BasicDecimal128::GetScaleMultiplier has a DCHECK on the scale, but the scale can come from users. For example, Decimal128::FromString("1e100") will cause an out-of-bound read.
BasicDecimal128::Rescale and BasicDecimal128::GetWholeAndFraction have the same problem.