If pk is NULL, the backend would segfault when accessing ->algo and the
following NULL check was never reached.
This problem was found by Coccinelle (null_ref.cocci from coccicheck).
Marti Raudsepp
Branch
------
REL8_3_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=3218c2cfc931535e9bb415b1b8c8cbe719c62cfe
Modified Files
--------------
contrib/pgcrypto/pgp-pubenc.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)