Add recursion depth protection to LIKE matching.
Tom 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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/like.c | modified | +1 −0 |
| src/backend/utils/adt/like_match.c | modified | +3 −0 |