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

Noah Misch <noah@leadboat.com>

Commit: 4d95419e8a2006e91a4356b8bb49c1563933f139
Author: Noah Misch <noah@leadboat.com>
Date: 2015-10-05T14:06:34Z
Releases: 9.4.5
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