Fix tuple printing in error message of tuple routing for partitions
Michael Paquier <michael@paquier.xyz>
Fix tuple printing in error message of tuple routing for partitions With correctly crafted DDLs, this could lead to disclosure of arbitrary backend memory a user may have no right to access. This impacts only REL_11_STABLE, as the issue has been introduced by 34295b8. On HEAD, add regression tests to cover this issue in the future. Author: Michael Paquier Reviewed-by: Noah Misch Security: CVE-2019-10129
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execPartition.c | modified | +4 −4 |
| src/test/regress/expected/insert.out | modified | +15 −0 |
| src/test/regress/sql/insert.sql | modified | +7 −0 |