pgsql: Add recursion depth protection to LIKE matching. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add recursion depth protection to LIKE matching.
Date
Msg-id E1Zi5a0-000176-Hq@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_0_STABLE

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

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add recursion depth protection to LIKE matching.
Next
From: Tom Lane
Date:
Subject: pgsql: Add recursion depth protection to LIKE matching.