<b>6.0.0.2143</b>
ChudaykinAlex 2026.08.12 09:44:22
stack-buffer-overflow in decNumber (#9019)
* Suggestions for fixing the problem.
* Fix decNumber OOB reads and UB found by ASan+UBSan fuzzing
Follow-up to the earlier stack-buffer-overflow fix. Adds 8 fixes:
- decBasic.c: unsigned DPD shift in decFloatAdd (UB); break out of
outer loop in decQuadCompareTotal (OOB read); bounds-check before
UBTOUI in strip-leading-zeros loops (decQuadFMA and 3 others, OOB read)
- decCommon.c: unsigned exponent accumulation in decFloatFromString (overflow)
- decNumber.c: unsigned X10 in decNumberFromString (overflow/shift);
unsigned n<<1 in decNumberPower and decNumberLn (UB)
---------
Co-authored-by: alexey.chudaykin <alexey.chudaykin@red-soft.ru>

Changed paths:
  M extern/decNumber/decBasic.c
  M extern/decNumber/decCommon.c
  M extern/decNumber/decNumber.c