pgcrypto: Detect and report too-short crypt() salts.

Noah Misch <noah@leadboat.com>

Commit: 4d6752277e792386e54b036aee8f64ee4fa84cf1
Author: Noah Misch <noah@leadboat.com>
Date: 2015-10-05T14:06:33Z
Releases: 9.5.0
pgcrypto: Detect and report too-short crypt() salts.

Certain short salts crashed the backend or disclosed a few bytes of
backend memory.  For existing salt-induced error conditions, emit a
message saying as much.  Back-patch to 9.0 (all supported versions).

Josh Kupershmidt

Security: CVE-2015-5288

Files