Avoid printing uninitialized filename variable in verbose mode

Magnus Hagander <magnus@hagander.net>

Commit: 680baa8d242aa0721ffa11957d2a2d90ee61f3bd
Author: Magnus Hagander <magnus@hagander.net>
Date: 2014-02-09T11:09:18Z
Releases: 9.3.3
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