pgsql/contrib/pgcrypto encode.c

Поиск
Список
Период
Сортировка
От Bruce Momjian - CVS
Тема pgsql/contrib/pgcrypto encode.c
Дата
Msg-id 200105130217.f4D2H9023189@hub.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/05/12 22:17:09

Modified files:
    contrib/pgcrypto: encode.c

Log message:
    > I've been experimenting with pgcrypto 0.3 (distributed with
    > Postgres 7.1.0), and I think I've found a bug.
    >
    > I compiled Pgcrypto with OpenSSL, using gcc 2.95.4 and
    > OpenSSL 0.9.6a (the latest Debian 'unstable' packages).

    > web=> select encode(digest('blah', 'sha1'), 'base64');
    > FATAL 1:  pg_encode: overflow, encode estimate too small
    > pqReadData() -- backend closed the channel unexpectedly.
    >         This probably means the backend terminated abnormally
    >         before or while processing the request.
    > The connection to the server was lost. Attempting reset: Succeeded.

    > Is this a bug? Can it be fixed?

    This is a bug alright.  And a silly one :)

    Marko Kreen


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql/ /configure /configure.in rc/include/con ...
Следующее
От: Bruce Momjian - CVS
Дата:
Сообщение: pgsql/contrib/oracle Ora2Pg.pm README.ora2pg o ...