Add some checks to avoid stack overflow

Edit
ID 4239
Title Add some checks to avoid stack overflow
Topic Bug Fixes
Created 2023-03-09 04:35:38
Last modified 2024-03-08 11:21:05 (7 months ago)
Latest email 2024-03-11 02:24:57 (6 months, 4 weeks ago)
Status
2024-03: Committed
2024-01: Moved to next CF
2023-11: Moved to next CF
2023-09: Moved to next CF
2023-07: Moved to next CF
Target version 17
Authors Heikki Linnakangas (heikki), Egor Chindyaskin (egorchin21)
Reviewers Robert Haas (rhaas), Tom Lane (tgl), Andres Freund (andresfreund), Alexander Korotkov (smagen)Become reviewer
Committer Alexander Korotkov (smagen)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/4239
git checkout commitfest/cf/4239
Emails
Stack overflow issue
First at 2022-08-24 09:51:12 by Егор Чиндяскин <kyzevan23 at mail.ru>
Latest at 2024-03-11 02:24:57 by Alexander Korotkov <aekorotkov at gmail.com>
Latest attachment (v5-0003-Avoid-recursion-in-MemoryContext-functions.patch) at 2024-03-06 22:52:27 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (v5-0003-Avoid-recursion-in-MemoryContext-functions.patch) at 2024-03-06 22:52:27 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v4-0002-Avoid-stack-overflow-in-ShowTransactionStateRec.patch) at 2024-03-06 12:17:23 from Alexander Korotkov <aekorotkov at gmail.com> (Patch: Yes)
    Attachment (0002-Add-missing-check_stack_depth-to-some-recursive-f-v3.patch) at 2024-02-14 12:00:06 from Alexander Korotkov <aekorotkov at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Turn-tail-recursion-into-iteration-in-AbortCurren.patch) at 2024-01-12 15:12:14 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (0001-Turn-tail-recursion-into-iteration-in-CommitTransact.patch) at 2023-11-24 15:14:24 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v1-0001-Add-some-checks-to-avoid-stack-overflow.patch) at 2023-06-21 13:45:00 from Egor Chindyaskin <kyzevan23 at mail.ru> (Patch: Yes)
    Attachment (stack_overflow_fix_11.patch) at 2023-01-19 09:18:42 from Egor Chindyaskin <kyzevan23 at mail.ru> (Patch: Yes)
    Attachment (limit-length-of-strings-passed-to-snowball-2.patch) at 2022-08-30 22:57:06 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (limit-length-of-strings-passed-to-snowball.patch) at 2022-08-30 15:02:38 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v1-0001-add-check_stack_depth-in-more-places.patch) at 2022-08-24 11:54:36 from Richard Guo <guofenglinux at gmail.com> (Patch: Yes)
History
When Who What
2024-03-08 11:21:05 Alexander Korotkov (smagen) Closed in commitfest 2024-03 with status: Committed
2024-03-08 11:20:57 Alexander Korotkov (smagen) Changed reviewers to Robert Haas (rhaas), Tom Lane (tgl), Andres Freund (andresfreund), Alexander Korotkov (smagen)
2024-03-08 11:20:57 Alexander Korotkov (smagen) Changed authors to Heikki Linnakangas (heikki), Egor Chindyaskin (egorchin21)
2024-03-08 11:20:57 Alexander Korotkov (smagen) Changed committer to smagen
2024-03-08 11:20:57 Alexander Korotkov (smagen) Changed targetversion to 17
2024-02-01 16:36:30 vigneshwaran C (vignesh.postgres) Closed in commitfest 2024-01 with status: Moved to next CF
2024-01-15 18:13:01 Robert Haas (rhaas) Added rhaas as reviewer
2023-12-04 08:50:54 John Naylor (john.naylor) Closed in commitfest 2023-11 with status: Moved to next CF
2023-11-28 17:22:18 Rajiv Harlalka (rajivharlalka009) Removed rajivharlalka009 from reviewers
2023-11-28 17:22:10 Rajiv Harlalka (rajivharlalka009) Added rajivharlalka009 as reviewer
2023-10-02 09:33:25 Peter Eisentraut (petere) Closed in commitfest 2023-09 with status: Moved to next CF
2023-08-01 18:40:24 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2023-07 with status: Moved to next CF
2023-07-14 07:42:28 Akshat Jaimini (akshatj) Removed akshatj from reviewers
2023-07-12 18:10:35 Akshat Jaimini (akshatj) Added akshatj as reviewer
2023-06-21 13:48:05 Egor Chindyaskin (egorchin21) Attached mail thread 1661334672.728714027@f473.i.mail.ru
2023-06-21 13:47:56 Egor Chindyaskin (egorchin21) Detached mail thread 1661334672.728714027@f473.i.mail.ru
2023-03-09 04:36:09 Egor Chindyaskin (egorchin21) Changed authors to Egor Chindyaskin (egorchin21)
2023-03-09 04:36:09 Egor Chindyaskin (egorchin21) Changed targetversion to stable
2023-03-09 04:35:38 Egor Chindyaskin (egorchin21) Attached mail thread 1661334672.728714027@f473.i.mail.ru
2023-03-09 04:35:38 Egor Chindyaskin (egorchin21) Created patch record
Edit