Re: Fix error handling in be_tls_open_server() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Fix error handling in be_tls_open_server()
Date
Msg-id ZOgDDH/fgystSh5C@paquier.xyz
Whole thread Raw
In response to Re: Fix error handling in be_tls_open_server()  (Sergey Shinderuk <s.shinderuk@postgrespro.ru>)
Responses Re: Fix error handling in be_tls_open_server()
List pgsql-hackers
On Thu, Aug 24, 2023 at 12:13:18PM +0300, Sergey Shinderuk wrote:
> But I need to force malloc to fail at the right time during the test. I
> don't think I can make a stable and portable test from this.

LD_PRELOAD is the only thing I can think about, but that's very fancy.
Even with that, having a certificate with a NULL peer_cn could prove
to be useful in the SSL suite to stress more patterns around it?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)
Next
From: Michael Paquier
Date:
Subject: Re: Remove IndexInfo.ii_OpclassOptions field