[COMMITTERS] pgsql: Add tests for json{b}_populate_recordset() crash case. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Add tests for json{b}_populate_recordset() crash case.
Date
Msg-id E1eBjLa-0002kw-RP@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add tests for json{b}_populate_recordset() crash case.

The problem reported as CVE-2017-15098 was already resolved in HEAD by
commit 37a795a60, but let's add the relevant test cases anyway.

Michael Paquier and Tom Lane, per a report from David Rowley.

Security: CVE-2017-15098

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b574228715f0fd77ed1f4f084603cff9e757e992

Modified Files
--------------
src/test/regress/expected/json.out  | 13 +++++++++++++
src/test/regress/expected/jsonb.out | 13 +++++++++++++
src/test/regress/sql/json.sql       |  6 ++++++
src/test/regress/sql/jsonb.sql      |  6 ++++++
4 files changed, 38 insertions(+)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: [COMMITTERS] pgsql: start-scripts: switch to $PGUSER before opening $PGLOG.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Last-minute updates for release notes.