aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-08-13 15:21:28 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-08-13 15:21:28 -0400
commit00ac61695e5c7d573b14bb7a61387a3fae017928 (patch)
tree05e2e89085d6573b94d2eb6208e6ca02afc4d422 /src/tutorial/syscat.source
parent94478f44a4a0628efa5f7f9184f528a12475a4a1 (diff)
downloadpostgresql-00ac61695e5c7d573b14bb7a61387a3fae017928.tar.gz
postgresql-00ac61695e5c7d573b14bb7a61387a3fae017928.zip
Catch stack overflow when recursing in transformFromClauseItem().
Most parts of the parser can expect that the stack overflow check in transformExprRecurse() will trigger before things get desperate. However, transformFromClauseItem() can recurse directly to self without having analyzed any expressions, so it's possible to drive it to a stack-overrun crash. Add a check to prevent that. Per bug #17583 from Egor Chindyaskin. Back-patch to all supported branches. Richard Guo Discussion: https://postgr.es/m/17583-33be55b9f981f75c@postgresql.org
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions