forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite818898
Catch stack overflow when recursing in transformFromClauseItem().
Most parts of the parser can expect that the stack overflow checkin transformExprRecurse() will trigger before things get desperate.However, transformFromClauseItem() can recurse directly to selfwithout having analyzed any expressions, so it's possible to driveit to a stack-overrun crash. Add a check to prevent that.Per bug #17583 from Egor Chindyaskin. Back-patch to all supportedbranches.Richard GuoDiscussion:https://postgr.es/m/17583-33be55b9f981f75c@postgresql.org1 parent804407f commite818898
1 file changed
+3
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1050 | 1050 |
| |
1051 | 1051 |
| |
1052 | 1052 |
| |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
1053 | 1056 |
| |
1054 | 1057 |
| |
1055 | 1058 |
| |
|
0 commit comments
Comments
(0)