Avoid printing uninitialized filename variable in verbose mode

Magnus Hagander <magnus@hagander.net>

Commit: 165aa1da588abcbcf3494b38bc03cb0e46e8831b
Author: Magnus Hagander <magnus@hagander.net>
Date: 2014-02-09T11:09:39Z
Releases: 9.2.7
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