pgsql: Fix possible NULL-pointer-deference in backup_compression.c.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix possible NULL-pointer-deference in backup_compression.c.
Date: 2022-03-30 19:59:57
Message-ID: E1nZeU1-0002tF-69@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix possible NULL-pointer-deference in backup_compression.c.

Per Coverity and Tom Lane. Reviewed by Tom Lane and Justin Pryzby.

Discussion: http://postgr.es/m/384291.1648403267@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8e053dc6dfbee4ae412e98ad73cfd4662d7453ac

Modified Files
--------------
src/common/backup_compression.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-03-30 20:22:03 Re: pgsql: Add 'basebackup_to_shell' contrib module.
Previous Message Robert Haas 2022-03-30 19:49:46 pgsql: basebackup_to_shell: Add TAP test.