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

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

From
Robert Haas
Date:
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(-)