]> git.ipfire.org Git - thirdparty/postgresql.git/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:33 +0000 (10:06 -0400)
commit7bed97d486bda5761ba7e7982e4133aeded6b852
treee8ca48097436e2afa09e5e5ff4d5c2852b35dc67
parentacf0da1e6476fd3217781065c7e7654873376568
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