Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2020-02-04 04:56:04 +0000
committerMichael Paquier2020-02-04 04:56:04 +0000
commit177be9edf4bb966400db7769d61e479aa0fe0201 (patch)
tree2b076f7315dc85b3ab5f5342195ddb5d72348f63 /src/test/perl/PostgresNode.pm
parent1c7a0b387d18c517d45e2f6ec7d8b7d1b2d5fe13 (diff)
Fix fuzzy error handling in pg_basebackup when opening gzFile
First, this code did not bother checking for a failure when calling dup(). Then, per zlib, gzerror() returns NULL for a NULL input, which can happen if passing down to gzdopen() an invalid file descriptor or if there was an allocation failure. No back-patch is done as this would unlikely be a problem in the field. Per Coverity. Reported-by: Tom Lane
Diffstat (limited to 'src/test/perl/PostgresNode.pm')
0 files changed, 0 insertions, 0 deletions