Avoid printing uninitialized filename variable in verbose mode

Magnus Hagander <magnus@hagander.net>

Commit: 01025d80a16c747641386e2909deb81e2f9423a6
Author: Magnus Hagander <magnus@hagander.net>
Date: 2014-02-09T11:05:14Z
Releases: 9.4.0
Avoid printing uninitialized filename variable in verbose mode

When using verbose mode for pg_basebackup, in tar format sent to
stdout, we'd print an unitialized buffer as the filename.

Reported by Pontus Lundkvist

Files

PathChange+/−
src/bin/pg_basebackup/pg_basebackup.c modified +1 −0