Jul 2025

2 commits
ecpg: Improve error detection around ecpg_strdup()
22 Jul 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #151 of 2 reviewers saw the final version

The committed diff matches #15 except for an added if (dbname) guard around ecpg_free(dbname) in connect.c; ecpg_free() wraps free(), so this is behavior-preserving. The commit credits Evgeniy Gorbanev as author and Aleksander Alekseev as co-author, and #16 confirms application of the final patch.

  • Álvaro Herrerasaw an earlier versiontrailerIn #7, he supplied the simpler connection-name allocation logic adopted in #8, before the API redesign and subsequent error-handling changes.
  • Michael Paquiersaw the final versiontrailerHe identified missing failure handling in #3 and #9, supplied cleanup and cache-order corrections in #14, and confirmed CI and commitment of the final version in #16.
ecpg: Fix NULL pointer dereference during connection lookup
22 Jul 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #131 of 1 reviewer saw the final version

Extracts only the ecpg_get_connection_nr() NULL guard from #13, with an expanded explanatory comment in src/interfaces/ecpg/ecpglib/connect.c. In #14, Michael Paquier confirms reproducing the crash and backpatching this part separately.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Aleksander Alekseev1
Evgeniy Gorbanev1
Reviewer
Michael Paquiercommitter2
Alvaro Herrera1
Co author
Aleksander Alekseev1
Committer
Michael Paquier2