git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ad89a5d) | patch
Truncate strings in tarCreateHeader() with strlcpy(), not sprintf().
2015年6月22日 00:04:36 +0000 (20:04 -0400)
2015年6月22日 00:04:36 +0000 (20:04 -0400)
commit 4318118edd5582696027f357771e0a8b091fe2bf
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.
src/bin/pg_basebackup/t/010_pg_basebackup.pl diff | blob | blame | history
src/port/tar.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /