BUG #19714: pgcrypto pgp_sym_encrypt accepts nonnumeric s2k-mode as mode 0

Edit
ID 7534
Title BUG #19714: pgcrypto pgp_sym_encrypt accepts nonnumeric s2k-mode as mode 0
CI (CFBot) Summary
Stats (from CFBot) Patch version: v1, Patch count: 2, First patch: +34−16, All patches: +53−16
Tags Bugfix
Created 2026-10-28 01:47:14
Last modified 2026-10-28 01:47:14 (2 hours ago)
Latest email 2026-09-25 04:37:21 (1 month ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
Target version
Authors shihao zhong (zhong950419)
Reviewers Become reviewer
Committer
Links
Emails
BUG #19714: pgcrypto pgp_sym_encrypt accepts nonnumeric s2k-mode as mode 0
First at 2026-09-22 16:05:30 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-09-25 04:37:21 by shihao zhong <zhong950419 at gmail.com>
Latest attachment (v1-0002-pgcrypto-Add-tests-for-malformed-integer-PGP-opti.patch) at 2026-09-25 04:37:21 from shihao zhong <zhong950419 at gmail.com>
    Attachment (v1-0002-pgcrypto-Add-tests-for-malformed-integer-PGP-opti.patch) at 2026-09-25 04:37:21 from shihao zhong <zhong950419 at gmail.com> (Patch: No)
History
When Who What
2026-10-28 01:47:14 shihao zhong (zhong950419) Attached mail thread 19714-2c7439b39f73bde9@postgresql.org
2026-10-28 01:47:14 shihao zhong (zhong950419) Created patch record
Edit