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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading
Дата
Msg-id 28955.1455835117@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading  (Dave Vitek <dvitek@grammatech.com>)
Ответы Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading  (Dave Vitek <dvitek@grammatech.com>)
Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-bugs
Dave Vitek <dvitek@grammatech.com> writes:
> Maintainers: Peter's patch is better than mine, at least for the front
> end side.  I also adjusted be-secure-openssl.c, which perhaps is not
> necessary, but then again it's hard to be sure.  It might be worth doing
> a patch for be-secure-openssl.c in the spirit of what Peter did for the
> frontend (sorry, not volunteering :).

+1 for changing both sides.  I'm fairly sure that you could provoke
problems of this ilk in the backend too, for example if client connection
is using SSL and we also establish an outgoing SSL connection using
postgres_fdw or dblink.

BTW, do we have a reproducible test case?

            regards, tom lane

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

Предыдущее
От: Dave Vitek
Дата:
Сообщение: Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading
Следующее
От: Dave Vitek
Дата:
Сообщение: Re: BUG #12799: libpq - SSL pqsecure_read() doesn't clean openssl error queue before reading