Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: william(dot)welter(at)4linux(dot)com(dot)br
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading
Date: 2015-03-01 20:32:41
Message-ID: 54F37769.3090406@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 02/27/2015 04:00 AM, william(dot)welter(at)4linux(dot)com(dot)br wrote:
>>> The solution is simple, see following patches:
>>
>> Yeah. Should also do the same in the backend, and also before
>> SSL_connect/SSL_accept() calls. I.e. any time SSL_get_error is used.
>
> Question: Is possible to fix this to next major release ? (im volunteering)

Yeah. If you could write a complete patch, per above, I can commit it.

- Heikki

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2015-03-02 04:42:43 Re: pg_upgrade failure on Windows Server
Previous Message rathan4all 2015-03-01 15:47:33 BUG #12816: Problem in usung psql