Обсуждение: pgsql: Fix error detection in contrib/pgcrypto's encrypt_iv() and decry

Поиск
Список
Период
Сортировка

pgsql: Fix error detection in contrib/pgcrypto's encrypt_iv() and decry

От
Tom Lane
Дата:
Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv().

Due to oversights, the encrypt_iv() and decrypt_iv() functions failed to
report certain types of invalid-input errors, and would instead return
random garbage values.

Marko Kreen, per report from Stefan Kaltenbrunner

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a8b4b84360e5ea145d12d372305b50f6774b0366

Modified Files
--------------
contrib/pgcrypto/pgcrypto.c |    8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)