]> granicus.if.org Git - postgresql/commit
Avoid printing uninitialized filename variable in verbose mode
authorMagnus Hagander <magnus@hagander.net>
Sun, 9 Feb 2014 10:54:33 +0000 (11:54 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 9 Feb 2014 11:05:14 +0000 (12:05 +0100)
commit01025d80a16c747641386e2909deb81e2f9423a6
tree9a12157880156a62cb8666ec7d23c5757da38b8c
parentcfa1b4a711dd03f824a9c3ab50911e61419d1eeb
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
src/bin/pg_basebackup/pg_basebackup.c