pgsql: Add forgotten CHECK_FOR_INTERRUPT calls in pgcrypto's crypt() - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Add forgotten CHECK_FOR_INTERRUPT calls in pgcrypto's crypt()
Date
Msg-id E1aDDoL-0001MF-QV@gemulon.postgresql.org
Whole thread Raw
List pgsql-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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/743229a67e24aaee3f671bc5692100fe94c47436

Modified Files
--------------
contrib/pgcrypto/crypt-blowfish.c |    3 +++
contrib/pgcrypto/crypt-des.c      |    3 +++
2 files changed, 6 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Include typmod when complaining about inherited column type mism
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Add forgotten CHECK_FOR_INTERRUPT calls in pgcrypto's crypt()