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

Noah Misch <noah@leadboat.com>

Commit: 56232f9879768e961485d8ba218da18c38768413
Author: Noah Misch <noah@leadboat.com>
Date: 2015-10-05T14:06:35Z
Releases: 9.2.14
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