pgsql: Add recursion depth protection to LIKE matching.

Started by Tom Laneover 10 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Add recursion depth protection to LIKE matching.

Since MatchText() recurses, it could in principle be driven to stack
overflow, although quite a long pattern would be needed.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/bdc5d95b60bc1f17962a6b6184924b3672bd2f60

Modified Files
--------------
src/backend/utils/adt/like.c | 1 +
src/backend/utils/adt/like_match.c | 3 +++
2 files changed, 4 insertions(+)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers