pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Check for stack overrun in standard_ProcessUtility().
7+ messages / 1 participants
[nested] [flat]

* pgsql: Check for stack overrun in standard_ProcessUtility().
@ 2018-10-15 18:01  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2018-10-15 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Check for stack overrun in standard_ProcessUtility().

ProcessUtility can recurse, and indeed can be driven to infinite
recursion, so it ought to have a check_stack_depth() call.  This
covers the reported bug (portal trying to execute itself) and a bunch
of other cases that could perhaps arise somewhere.

Per bug #15428 from Malthe Borch.  Back-patch to all supported branches.

Discussion: https://postgr.es/m/15428-b3c2915ec470b033@postgresql.org

Branch
------
REL_11_STABLE

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

Modified Files
--------------
src/backend/tcop/utility.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Check for stack overrun in standard_ProcessUtility().
@ 2018-10-15 18:01  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2018-10-15 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Check for stack overrun in standard_ProcessUtility().

ProcessUtility can recurse, and indeed can be driven to infinite
recursion, so it ought to have a check_stack_depth() call.  This
covers the reported bug (portal trying to execute itself) and a bunch
of other cases that could perhaps arise somewhere.

Per bug #15428 from Malthe Borch.  Back-patch to all supported branches.

Discussion: https://postgr.es/m/15428-b3c2915ec470b033@postgresql.org

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9d4212afa100ca3a03bb5d12e1caf6c205457117

Modified Files
--------------
src/backend/tcop/utility.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Check for stack overrun in standard_ProcessUtility().
@ 2018-10-15 18:01  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2018-10-15 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Check for stack overrun in standard_ProcessUtility().

ProcessUtility can recurse, and indeed can be driven to infinite
recursion, so it ought to have a check_stack_depth() call.  This
covers the reported bug (portal trying to execute itself) and a bunch
of other cases that could perhaps arise somewhere.

Per bug #15428 from Malthe Borch.  Back-patch to all supported branches.

Discussion: https://postgr.es/m/15428-b3c2915ec470b033@postgresql.org

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/10412cef11efde3f865c8640d96d80fa262b3358

Modified Files
--------------
src/backend/tcop/utility.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Check for stack overrun in standard_ProcessUtility().
@ 2018-10-15 18:01  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2018-10-15 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Check for stack overrun in standard_ProcessUtility().

ProcessUtility can recurse, and indeed can be driven to infinite
recursion, so it ought to have a check_stack_depth() call.  This
covers the reported bug (portal trying to execute itself) and a bunch
of other cases that could perhaps arise somewhere.

Per bug #15428 from Malthe Borch.  Back-patch to all supported branches.

Discussion: https://postgr.es/m/15428-b3c2915ec470b033@postgresql.org

Branch
------
REL9_4_STABLE

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

Modified Files
--------------
src/backend/tcop/utility.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Check for stack overrun in standard_ProcessUtility().
@ 2018-10-15 18:01  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2018-10-15 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Check for stack overrun in standard_ProcessUtility().

ProcessUtility can recurse, and indeed can be driven to infinite
recursion, so it ought to have a check_stack_depth() call.  This
covers the reported bug (portal trying to execute itself) and a bunch
of other cases that could perhaps arise somewhere.

Per bug #15428 from Malthe Borch.  Back-patch to all supported branches.

Discussion: https://postgr.es/m/15428-b3c2915ec470b033@postgresql.org

Branch
------
REL9_6_STABLE

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

Modified Files
--------------
src/backend/tcop/utility.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Check for stack overrun in standard_ProcessUtility().
@ 2018-10-15 18:01  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2018-10-15 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Check for stack overrun in standard_ProcessUtility().

ProcessUtility can recurse, and indeed can be driven to infinite
recursion, so it ought to have a check_stack_depth() call.  This
covers the reported bug (portal trying to execute itself) and a bunch
of other cases that could perhaps arise somewhere.

Per bug #15428 from Malthe Borch.  Back-patch to all supported branches.

Discussion: https://postgr.es/m/15428-b3c2915ec470b033@postgresql.org

Branch
------
master

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

Modified Files
--------------
src/backend/tcop/utility.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Check for stack overrun in standard_ProcessUtility().
@ 2018-10-15 18:01  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2018-10-15 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Check for stack overrun in standard_ProcessUtility().

ProcessUtility can recurse, and indeed can be driven to infinite
recursion, so it ought to have a check_stack_depth() call.  This
covers the reported bug (portal trying to execute itself) and a bunch
of other cases that could perhaps arise somewhere.

Per bug #15428 from Malthe Borch.  Back-patch to all supported branches.

Discussion: https://postgr.es/m/15428-b3c2915ec470b033@postgresql.org

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3a60c8bb1698ddde56ee2a0749c75aa1399556fc

Modified Files
--------------
src/backend/tcop/utility.c | 3 +++
1 file changed, 3 insertions(+)



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


end of thread, other threads:[~2018-10-15 18:01 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-15 18:01 pgsql: Check for stack overrun in standard_ProcessUtility(). Tom Lane <tgl@sss.pgh.pa.us>
2018-10-15 18:01 pgsql: Check for stack overrun in standard_ProcessUtility(). Tom Lane <tgl@sss.pgh.pa.us>
2018-10-15 18:01 pgsql: Check for stack overrun in standard_ProcessUtility(). Tom Lane <tgl@sss.pgh.pa.us>
2018-10-15 18:01 pgsql: Check for stack overrun in standard_ProcessUtility(). Tom Lane <tgl@sss.pgh.pa.us>
2018-10-15 18:01 pgsql: Check for stack overrun in standard_ProcessUtility(). Tom Lane <tgl@sss.pgh.pa.us>
2018-10-15 18:01 pgsql: Check for stack overrun in standard_ProcessUtility(). Tom Lane <tgl@sss.pgh.pa.us>
2018-10-15 18:01 pgsql: Check for stack overrun in standard_ProcessUtility(). 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