Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 52C881259185 for ; Fri, 27 Jan 2012 13:13:42 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RqpMp-0006ua-JM for pgsql-bugs@postgresql.org; Fri, 27 Jan 2012 17:13:41 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q0RHDLuY010057; Fri, 27 Jan 2012 12:13:21 -0500 (EST) To: Marko Kreen cc: Stefan Kaltenbrunner , Postgres-Bugs Subject: Re: pgcrypto decrypt_iv() issue In-reply-to: <20120127152056.GA4107@gmail.com> References: <4F1DB7BF.60304@kaltenbrunner.cc> <4F1F23E8.80100@kaltenbrunner.cc> <23889.1327646231@sss.pgh.pa.us> <20120127152056.GA4107@gmail.com> Comments: In-reply-to Marko Kreen message dated "Fri, 27 Jan 2012 17:20:56 +0200" Date: Fri, 27 Jan 2012 12:13:21 -0500 Message-ID: <10056.1327684401@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/193 X-Sequence-Number: 32260 Marko Kreen writes: > pgcrypto.c is easily fixable and internal.c has proper checks. > But openssl.c does not. And I have a bigger openssl.c cleanup > pending. So I would prefer to add missing checks to cleaned-up > openssl.c and post them together (soonish). > But I'm bit unclear about fate of /contrib cleanup patches vs. 9.2, > so if they won't get in, it's ok to apply quick fixes to current tree, > it won't inconvinience me much. 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. regards, tom lane