1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-10-23 21:28:56 +03:00
Files
pgbackrest/src
David Steele 6963016c77 Error on invalid field ids when reading packs.
pckReadTagNext() cut the high-order bits of the field id delta down to an unsigned int and added it to the last id without checking the result. A large delta could produce UINT_MAX, the id that marks the end of a container, or wrap to an id at or below the last id. Either one left the read out of step with the tags, which asserted in debug builds and misread fields in production builds.

Error when the id is not greater than the last id or is UINT_MAX.
2026-10-12 10:36:16 +02:00
..
2026-09-27 12:11:20 +03:00
2026-08-20 14:25:22 +07:00
2026-10-09 17:31:57 +02:00