<b>5.0.4.1735</b>
Ilya Eremin 2025.11.17 12:23:36
Fix #8799: BUGCHECK "decompression overran buffer (179)" when WITH LOCK clause is used (#8803)
VIO_writelock creates new_rpb by copying from org_rpb which has rpb_delta flag set. new_rpb is passed to prepare_update. It creates a delta but its size exceeds the limit (1024) so the current version is stored as a regular record. The problem is that rpb_delta flag remains set for new_rpb, and then replace_record sets it in the header of the primary version. From this moment any attempt to get data of older versions fails.

Changed paths:
  M src/jrd/vio.cpp