postgresql/src
Michael Paquier 900c07b854 Add more tests for corrupted data with pglz_decompress()
Two cases fixed by 2b5ba2a0a1 were not covered, to emulate the
handling of corrupted data, for:
- set control bit with a valid 2-byte match tag where offset is 0.
- set control bit with a valid 2-byte match tag where offset exceeds
output written.

Oversight in 67d318e704.

Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Discussion: https://postgr.es/m/agF4xkIdRcrCIprs@paquier.xyz
Backpatch-through: 14
2026-05-13 14:43:42 +09:00
..
backend Fix stale COPY progress during logical replication table sync 2026-05-13 11:44:31 +09:00
bin psql: save/restore truePrint/falsePrint printQueryOpt values 2026-05-12 18:28:20 -04:00
common Fix assorted places that need to use palloc_array(). 2026-05-11 05:13:46 -07:00
fe_utils Prevent path traversal in pg_basebackup and pg_rewind 2026-05-11 05:13:47 -07:00
include Prevent path traversal in pg_basebackup and pg_rewind 2026-05-11 05:13:47 -07:00
interfaces Mark PQfn() unsafe and fix overrun in frontend LO interface. 2026-05-11 05:13:47 -07:00
makefiles Add CONCURRENTLY option to REPACK 2026-04-06 21:55:08 +02:00
pl Harmonize function parameter names for Postgres 19. 2026-04-22 12:47:19 -04:00
port Prevent path traversal in pg_basebackup and pg_rewind 2026-05-11 05:13:47 -07:00
template Switch the semaphore API on Solaris to unnamed POSIX. 2026-03-14 14:10:32 -04:00
test Add more tests for corrupted data with pglz_decompress() 2026-05-13 14:43:42 +09:00
timezone Guard against unsafe conditions in usage of pg_strftime(). 2026-05-11 05:13:46 -07:00
tools Consider opfamily and collation when removing redundant GROUP BY columns 2026-05-08 12:45:51 +09:00
tutorial Force standard_conforming_strings to always be ON. 2026-01-21 15:08:38 -05:00
.gitignore
DEVELOPERS
Makefile Add CONCURRENTLY option to REPACK 2026-04-06 21:55:08 +02:00
Makefile.global.in Update Unicode data to CLDR 48.2 2026-04-13 11:13:36 +02:00
Makefile.shlib Restore AIX support. 2026-02-23 13:34:22 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00