Skip site navigation (1) Skip section navigation (2)

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

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() anddecry
Date: 2012-01-28 04:10:28
Message-ID: E1RqzcS-0005qU-Fl@gemulon.postgresql.org (view raw or flat)
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_0_STABLE

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

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

pgsql-committers by date

Next:From: Magnus HaganderDate: 2012-01-28 09:04:11
Subject: pgsql: Prevent logging "failed to stat file: success" for temp files
Previous:From: Tom LaneDate: 2012-01-28 00:47:12
Subject: pgsql: Undo 8.4-era lobotomization of subquery pullup rules.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group