Re: Fix error handling in be_tls_open_server()

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Sergey Shinderuk <s.shinderuk@postgrespro.ru>
Cc: Michael Paquier <michael@paquier.xyz>, Jacob Champion <jchampion@timescale.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-09-20T08:58:19Z
Lists: pgsql-hackers
> On 20 Sep 2023, at 10:55, Sergey Shinderuk <s.shinderuk@postgrespro.ru> wrote:
> 
> On 20.09.2023 11:42, Daniel Gustafsson wrote:
>> Attached is a v2 on top of HEAD with commit message etc, which I propose to
>> backpatch to v15 where it was introduced.
> There is a typo: upon en error. Otherwise, looks good to me. Thank you.

Thanks, will fix before pushing.

--
Daniel Gustafsson




Commits

  1. Avoid potential pfree on NULL on OpenSSL errors