From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add forgotten CHECK_FOR_INTERRUPT calls in pgcrypto's crypt()
Date: Sun, 27 Dec 2015 16:04:45 +0000
Message-ID: <E1aDDoL-0001MP-RG@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add forgotten CHECK_FOR_INTERRUPT calls in pgcrypto's crypt()
Both Blowfish and DES implementations of crypt() can take arbitrarily
long time, depending on the number of rounds specified by the caller;
make sure they can be interrupted.
Author: Andreas Karlsson
Reviewer: Jeff Janes
Backpatch to 9.1.
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/51dd54ba79cc4b42a77c5246853a5794f44e1818
Modified Files
--------------
contrib/pgcrypto/crypt-blowfish.c | 3 +++
contrib/pgcrypto/crypt-des.c | 3 +++
2 files changed, 6 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Add forgotten CHECK_FOR_INTERRUPT calls in pgcrypto's crypt()
In-Reply-To: <E1aDDoL-0001MP-RG@gemulon.postgresql.org>
References: <E1aDDoL-0001MP-RG@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox