]> granicus.if.org Git - postgresql/commit
Prevent stack overflow in query-type functions.
authorNoah Misch <noah@leadboat.com>
Mon, 5 Oct 2015 14:06:30 +0000 (10:06 -0400)
committerNoah Misch <noah@leadboat.com>
Mon, 5 Oct 2015 14:06:35 +0000 (10:06 -0400)
commit879877b00bb54ba9dcdef0d218bd36c4e5404d6f
tree54cea9388658325b24a7e9727d1f69a63807843d
parent9581e2699f6379e29151b0bef04ca45a06f5afe0
Prevent stack overflow in query-type functions.

The tsquery, ltxtquery and query_int data types have a common ancestor.
Having acquired check_stack_depth() calls independently, each was
missing at least one call.  Back-patch to 9.0 (all supported versions).
contrib/intarray/_int_bool.c
contrib/ltree/ltxtquery_io.c
contrib/ltree/ltxtquery_op.c
src/backend/utils/adt/tsquery_cleanup.c