pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Ensure that PLPGSQL_DTYPE_ROW variables have valid refname field
2+ messages / 1 participants
[nested] [flat]

* pgsql: Ensure that PLPGSQL_DTYPE_ROW variables have valid refname field
@ 2018-10-05 16:45  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-10-05 16:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure that PLPGSQL_DTYPE_ROW variables have valid refname fields.

Without this, the syntax-tree-dumping functions in pl_funcs.c crash,
and there are other places that might be at risk too.  Per report
from Pavel Stehule.

Looks like I broke this in commit f9263006d, so back-patch to v11.

Discussion: https://postgr.es/m/CAFj8pRA+3f5n4642q2g8BXCKjbTd7yU9JMYAgDyHgozk6cQ-VA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/113a659914daa8e8c9ced55ca82bfbd5bdcedbd4

Modified Files
--------------
src/pl/plpgsql/src/pl_comp.c | 2 ++
src/pl/plpgsql/src/pl_exec.c | 1 +
src/pl/plpgsql/src/pl_gram.y | 3 +++
src/pl/plpgsql/src/plpgsql.h | 7 ++++++-
4 files changed, 12 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Ensure that PLPGSQL_DTYPE_ROW variables have valid refname field
@ 2018-10-05 16:45  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-10-05 16:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure that PLPGSQL_DTYPE_ROW variables have valid refname fields.

Without this, the syntax-tree-dumping functions in pl_funcs.c crash,
and there are other places that might be at risk too.  Per report
from Pavel Stehule.

Looks like I broke this in commit f9263006d, so back-patch to v11.

Discussion: https://postgr.es/m/CAFj8pRA+3f5n4642q2g8BXCKjbTd7yU9JMYAgDyHgozk6cQ-VA@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6e526b78706a99dc52182387d0e6f84d05bd597a

Modified Files
--------------
src/pl/plpgsql/src/pl_comp.c | 2 ++
src/pl/plpgsql/src/pl_exec.c | 1 +
src/pl/plpgsql/src/pl_gram.y | 3 +++
src/pl/plpgsql/src/plpgsql.h | 7 ++++++-
4 files changed, 12 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-10-05 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-05 16:45 pgsql: Ensure that PLPGSQL_DTYPE_ROW variables have valid refname field Tom Lane <tgl@sss.pgh.pa.us>
2018-10-05 16:45 pgsql: Ensure that PLPGSQL_DTYPE_ROW variables have valid refname field Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox