pg_parse_json: don't leak token copies on failure

Edit
ID 4975
Title pg_parse_json: don't leak token copies on failure
Topic Bug Fixes
Created 2024-05-06 21:29:59
Last modified 2024-10-01 20:26:25 (1 month, 2 weeks ago)
Latest email 2024-10-31 21:10:14 (2 weeks, 4 days ago)
Status
2024-11: Needs review
2024-09: Moved to next CF
2024-07: Moved to next CF
Target version
Authors Jacob Champion (jchampion)
Reviewers Andrew Dunstan (adunstan)Become reviewer
Committer
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/4975
git checkout commitfest/cf/4975
Emails
pg_parse_json() should not leak token copies on failure
First at 2024-04-30 21:29:27 by Jacob Champion <jacob.champion at enterprisedb.com>
Latest at 2024-10-31 21:10:14 by Jacob Champion <jacob.champion at enterprisedb.com>
Latest attachment (v4-0001-jsonapi-add-lexer-option-to-keep-token-ownership.patch) at 2024-10-31 21:10:14 from Jacob Champion <jacob.champion at enterprisedb.com>
    Attachment (v4-0001-jsonapi-add-lexer-option-to-keep-token-ownership.patch) at 2024-10-31 21:10:14 from Jacob Champion <jacob.champion at enterprisedb.com> (Patch: Yes)
    Attachment (since-v3.diff.txt) at 2024-10-07 22:45:25 from Jacob Champion <jacob.champion at enterprisedb.com> (Patch: No)
    Attachment (v3-0001-jsonapi-add-lexer-option-to-keep-token-ownership.patch) at 2024-10-01 19:04:53 from Jacob Champion <jacob.champion at enterprisedb.com> (Patch: Yes)
    Attachment (v2-0001-WIP-fix-leak-of-scalar-value-on-lex-failure.patch) at 2024-05-24 15:43:01 from Jacob Champion <jacob.champion at enterprisedb.com> (Patch: Yes)
    Attachment (0001-WIP-fix-leak-of-scalar-value-on-lex-failure.patch) at 2024-04-30 21:29:27 from Jacob Champion <jacob.champion at enterprisedb.com> (Patch: Yes)
History
When Who What
2024-10-01 20:26:25 Jacob Champion (jchampion) Closed in commitfest 2024-09 with status: Moved to next CF
2024-09-17 12:15:34 Andrew Dunstan (adunstan) Added adunstan as reviewer
2024-08-28 14:59:34 Peter Eisentraut (petere) Removed petere from reviewers
2024-08-01 02:04:36 Corey Huinker (coreyh) Closed in commitfest 2024-07 with status: Moved to next CF
2024-07-22 18:50:59 Peter Eisentraut (petere) Added petere as reviewer
2024-05-06 21:30:11 Jacob Champion (jchampion) Changed authors to Jacob Champion (jchampion)
2024-05-06 21:29:59 Jacob Champion (jchampion) Attached mail thread CAOYmi+kb38EciwyBQOf9peApKGwraHqA7pgzBkvoUnw5BRfS1g@mail.gmail.com
2024-05-06 21:29:59 Jacob Champion (jchampion) Created patch record
Edit