Add proper checks for ecpg_strdup() return value

Edit
ID 5910
Title Add proper checks for ecpg_strdup() return value
CI (CFBot) Summary
Stats (from CFBot) Patch version: v8, Patch count: 1, First patch: +117−40, All patches: +117−40
Topic Bug Fixes
Tags Bugfix
Created 2025-07-11 16:24:10
Last modified 2025-07-28 09:35:46 (5 days ago)
Latest email 2025-07-22 23:34:14 (1 week ago)
Status
PG19-1 (2025-07-01 - 2025-07-31): Committed
PG19-2 (2025-09-01 - 2025-09-30): Moved to different CF
Target version 19
Authors Aleksander Alekseev (a.alekseev), Evgeniy Gorbanev (esgor)
Reviewers Become reviewer
Committer Michael Paquier (michael-kun)
Links
Emails
Missing NULL check after calling ecpg_strdup
First at 2025-07-11 10:27:59 by Evgeniy Gorbanev <gorbanyoves at basealt.ru>
Latest at 2025-07-22 23:34:14 by Michael Paquier <michael at paquier.xyz>
Latest attachment (v8-0001-ecpg-Improve-error-detection-of-ecpg_strdup.patch) at 2025-07-22 13:20:53 from Aleksander Alekseev <aleksander at tigerdata.com>
    Attachment (v8-0001-ecpg-Improve-error-detection-of-ecpg_strdup.patch) at 2025-07-22 13:20:53 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
    Attachment (v7-0001-ecpg-Improve-error-detection-of-ecpg_strdup.patch) at 2025-07-22 07:05:34 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v6-0002-Add-alloc_failed-argument-to-ecpg_strdup.patch) at 2025-07-21 08:48:27 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
    Attachment (v5-0001-Add-proper-checks-for-ecpg_strdup-return-value.patch) at 2025-07-18 13:45:44 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
    Attachment (v4-0001-Add-proper-checks-for-ecpg_strdup-return-value.patch) at 2025-07-14 14:03:44 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
    Attachment (v3-0001-Add-proper-checks-for-ecpg_strdup-return-value.patch) at 2025-07-14 13:23:10 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
    Attachment (v2-0001-Add-proper-checks-for-ecpg_strdup-return-value.patch) at 2025-07-11 16:22:36 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
    Attachment (ecpglib-execute-check-ecpg_strdup.patch) at 2025-07-11 10:27:59 from Evgeniy Gorbanev <gorbanyoves at basealt.ru> (Patch: Yes)
History
When Who What
2025-07-28 09:35:46 Aleksander Alekseev (a.alekseev) Closed in commitfest PG19-1 with status: Committed
2025-07-28 09:35:46 Aleksander Alekseev (a.alekseev) Changed committer to michael-kun
2025-07-28 09:35:46 Aleksander Alekseev (a.alekseev) Moved from CF PG19-2 to CF PG19-1
2025-07-11 16:24:10 Aleksander Alekseev (a.alekseev) Attached mail thread a6b193c1-6994-4d9c-9059-aca4aaf41ddd@basealt.ru
2025-07-11 16:24:10 Aleksander Alekseev (a.alekseev) Created patch record
Edit