]> 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:09:39 +0000 (12:09 +0100)
commit165aa1da588abcbcf3494b38bc03cb0e46e8831b
tree8602b8fc5290ada5817c8c81d30cf6fdd51c93db
parent888b5657049f56508645be4f5dd911b2c286438c
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