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

From Tom Lane
Subject pgsql: Fix error detection in contrib/pgcrypto's encrypt_iv() and decry
Date
Msg-id E1RqzcS-0005qZ-IN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL8_4_STABLE

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

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix error detection in contrib/pgcrypto's encrypt_iv() and decry
Next
From: Tom Lane
Date:
Subject: pgsql: Fix error detection in contrib/pgcrypto's encrypt_iv() and decry