Re: pgcrypto decrypt_iv() issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, Postgres-Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pgcrypto decrypt_iv() issue
Date: 2012-01-28 04:11:15
Message-ID: 3417.1327723875@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Marko Kreen <markokr(at)gmail(dot)com> writes:
> On Fri, Jan 27, 2012 at 12:13:21PM -0500, Tom Lane wrote:
>> I think we should fix and back-patch these two specific bugs. The
>> openssl.c change sounds like it might be something for HEAD only.

> Now I looked more in-depth and seems my comments were off - error
> detection for encrypt()/decrypt() happens in px.c not in
> internal.c/openssl.c. Latter ones simply validate internal APIs.

> So attached patch should be enough to fix the issue.

Applied, thanks.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Kellerer 2012-01-28 08:44:23 Documentation bug regarding collations
Previous Message Eric Borts 2012-01-28 03:31:14 Re: Windows x86-64 One-Click Install (9.1.2-1, 9.0.6-1) hangs on "initialising the database cluster" (with work-around)