<b>5.0.5.1878</b>
ChudaykinAlex 2026.08.16 16:12:43
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