Avoid printing uninitialized filename variable in verbose mode

Magnus Hagander <magnus@hagander.net>

Commit: c6e5c4dd1d9ba2abb7970c9dc920ecaf43837435
Author: Magnus Hagander <magnus@hagander.net>
Date: 2014-02-09T11:09:55Z
Releases: 9.1.12
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