From: Heikki Linnakangas <hlinnaka@iki.fi>
To: william.welter@4linux.com.br
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading
Date: Sun, 01 Mar 2015 22:32:41 +0200
Message-ID: <54F37769.3090406@iki.fi> (raw)
In-Reply-To: <319431910.43023.1425002429817.JavaMail.zimbra@4linux.com.br>
References: <20150224030956.2529.83279@wrigleys.postgresql.org>
<54EDD30D.5050107@vmware.com>
<319431910.43023.1425002429817.JavaMail.zimbra@4linux.com.br>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 02/27/2015 04:00 AM, william.welter@4linux.com.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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: hlinnaka@iki.fi, william.welter@4linux.com.br
Subject: Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading
In-Reply-To: <54F37769.3090406@iki.fi>
References: <20150224030956.2529.83279@wrigleys.postgresql.org> <54EDD30D.5050107@vmware.com> <319431910.43023.1425002429817.JavaMail.zimbra@4linux.com.br> <54F37769.3090406@iki.fi>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox