v.23.5Bug Fix

Fix one-off error in big integers identified by UBSan

Fix one-off error in big integers found by UBSan with fuzzer #49645 (Alexey Milovidov).