Re: Fix error handling in be_tls_open_server()

Sergey Shinderuk <s.shinderuk@postgrespro.ru>

From: Sergey Shinderuk <s.shinderuk@postgrespro.ru>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Michael Paquier <michael@paquier.xyz>, Jacob Champion <jchampion@timescale.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-09-20T08:55:54Z
Lists: pgsql-hackers
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.

-- 
Sergey Shinderuk		https://postgrespro.com/




Commits

  1. Avoid potential pfree on NULL on OpenSSL errors