pgsql: If pk is NULL, the backend would segfault when accessing ->algo
pgsql: If pk is NULL, the backend would segfault when accessing ->algo
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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 ------ REL9_0_STABLE Details ------- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=686ad321641b50f75536faf8c6156cec700eb936 Modified Files -------------- contrib/pgcrypto/pgp-pubenc.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)