v.22.10Bug Fix

Fix Buffer Overflow in Decimal Data Type Processing

Fix buffer overflow in the processing of Decimal data types. This closes #42451. #42465 (Alexey Milovidov).