Re: Fix error handling in be_tls_open_server()

Поиск
Список
Период
Сортировка
От Sergey Shinderuk
Тема Re: Fix error handling in be_tls_open_server()
Дата
Msg-id 9eea4952-151c-ed94-1b7a-aedf05a34c85@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Fix error handling in be_tls_open_server()  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Fix error handling in be_tls_open_server()  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 24.08.2023 11:38, Daniel Gustafsson wrote:
>> On 24 Aug 2023, at 10:11, Sergey Shinderuk <s.shinderuk@postgrespro.ru> wrote:

>> I triggered a crash by generating a certificate without a CN and forcing malloc to return NULL when called from
X509_NAME_print_exor BIO_get_mem_ptr with gdb.
 
> 
> Can you extend the patch with that certificate and a test using it?  The
> certificates are generated from config files kept in the repo in src/test/ssl
> in order to be reproducible.

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.


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




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Fix error handling in be_tls_open_server()
Следующее
От: Richard Guo
Дата:
Сообщение: Re: Support run-time partition pruning for hash join