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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix error detection in contrib/pgcrypto's encrypt_iv() and decry
Date: 2012-01-28 04:10:28
Message-ID: E1RqzcS-0005qT-EV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7c016e3f56e2a7d8e9dd00a6d2d80bdc2239424e

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

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2012-01-28 09:04:11 pgsql: Prevent logging "failed to stat file: success" for temp files
Previous Message Tom Lane 2012-01-28 00:47:12 pgsql: Use parameterized paths to generate inner indexscans more flexib