]> granicus.if.org Git - postgresql/commit
Add stack depth checks to key recursive functions in backend/nodes/*.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Dec 2018 16:12:43 +0000 (11:12 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Dec 2018 16:12:43 +0000 (11:12 -0500)
commit0f9fd7419a19c3bfa000117d8b475e134824259a
tree68a951d0a17ca0ea2647a1125adcfd86afe0cfb1
parent078303f79b513ef8f50fdf2a95181c61519e4559
Add stack depth checks to key recursive functions in backend/nodes/*.c.

Although copyfuncs.c has a check_stack_depth call in its recursion,
equalfuncs.c, outfuncs.c, and readfuncs.c lacked one.  This seems
unwise.

Likewise fix planstate_tree_walker(), in branches where that exists.

Discussion: https://postgr.es/m/30253.1544286631@sss.pgh.pa.us
src/backend/nodes/equalfuncs.c
src/backend/nodes/nodeFuncs.c
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c