diff options
author | Noah Misch <noah@leadboat.com> | 2015-06-21 20:04:36 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-06-21 20:05:27 -0400 |
commit | 926efeb042f64083e127b165ac98752dfccbff1f (patch) | |
tree | 13464ff518c89712d4a43e8a92edea3efff03f5f /contrib/btree_gist/btree_float8.c | |
parent | ab232db2c2ce3e58ded053f351cef4773523f498 (diff) |
Truncate strings in tarCreateHeader() with strlcpy(), not sprintf().
This supplements the GNU libc bug #6530 workarounds introduced in commit
54cd4f04576833abc394e131288bf3dd7dcf4806. On affected systems, a
tar-format pg_basebackup failed when some filename beneath the data
directory was not valid character data in the postmaster/walsender
locale. Back-patch to 9.1, where pg_basebackup was introduced. Extant,
bug-prone conversion specifications receive only ASCII bytes or involve
low-importance messages.
Diffstat (limited to 'contrib/btree_gist/btree_float8.c')
0 files changed, 0 insertions, 0 deletions