Re: BUG #16160: Minor memory leak in case of starting postgres server with SSL encryption

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: duspensky(at)ya(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16160: Minor memory leak in case of starting postgres server with SSL encryption
Date: 2019-12-14 09:24:56
Message-ID: 20191214092456.GB70616@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Dec 13, 2019 at 03:39:15PM +0900, Michael Paquier wrote:
> Attached is a patch, I'll go commit that if there are no objections.
> The DH handling does not really change regarding the way it gets
> free'd or not down to 0.9.8.

And committed. Dmitry has pointed out offline that we need to do the
same with the error code path, and he is right as OpenSSL does not
touch the passed-in DH information for 0.9.8~.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tomas Vondra 2019-12-14 13:39:12 Re: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash
Previous Message Juan José Santamaría Flecha 2019-12-14 08:40:19 Re: BUG #16165: Query Works fine but spam so many LOG: unrecognized win32 error code: 38