mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
This function called generate_series() without enforcing its input
argument types, making possible for an attacker to catch this call, by
defining for example a generate_series(int,bigint).
The internals of pg_freespace(regclass) are changed to force the use of
bigint for the inputs of generate_series(). A more consistent style is
applied for all its hardcoded values, while on it.
Issue introduced in
|
||
|---|---|---|
| .. | ||
| expected | ||
| sql | ||
| .gitignore | ||
| Makefile | ||
| meson.build | ||
| pg_freespacemap--1.1--1.2.sql | ||
| pg_freespacemap--1.1.sql | ||
| pg_freespacemap--1.2--1.3.sql | ||
| pg_freespacemap--1.0--1.1.sql | ||
| pg_freespacemap.c | ||
| pg_freespacemap.conf | ||
| pg_freespacemap.control | ||