Apr 2024

1 commit
Fix check for 'outlen' return from SSL_select_next_proto()
8 Apr 2024Heikki Linnakangasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

This fixes the ALPN implementation introduced by 91044ae4ba, announced in #1. The single-line change in src/backend/libpq/be-secure-openssl.c replaces `outlen <= 0` with `*outlen <= 0`, exactly the correction Andres Freund proposed in #2; Heikki Linnakangas confirmed the fix in #3.

  • Andres Freundsaw the final versionLLM analysis, 100% sureBefore the fix was committed, Andres reported the compiler warning and proposed the precise dereference correction adopted by the commit in #2.

Credits across 1 commit

Committer
Heikki Linnakangas1