Nov 2023

1 commit
Fix race condition with BIO methods initialization in libpq with threads
27 Nov 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2REL_15_STABLE15.6REL_14_STABLE14.11REL_13_STABLE13.14+1 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #70 of 1 reviewer saw the final version

The commit follows #7 in src/interfaces/libpq/fe-secure-openssl.c, correcting memcpy(res, res, ...) to memcpy(res, biom, ...), returning the local res, and documenting mutex protection. In #8, Michael Paquier confirms fixing the older-OpenSSL failure before committing and crediting Willi Mann as co-author.

  • Aleksander Alekseevsaw an earlier versionLLM analysis, 99% sureAleksander said the original code looked OK and suggested explanatory locking comments in #2, before the implementation was reworked in #7.

Credits across 1 commit

Author
Michael Paquier1
Willi Mann1
Reported by
Willi Mann1
Committer
Michael Paquier1