pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint 5+ messages / 1 participants [nested] [flat]
* pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint @ 2015-06-22 00:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2015-06-22 00:14 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4318118edd5582696027f357771e0a8b091fe2bf Modified Files -------------- src/bin/pg_basebackup/t/010_pg_basebackup.pl | 8 ++++++++ src/port/tar.c | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint @ 2015-06-22 00:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2015-06-22 00:14 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/d1c1e48832f31c1a4d01201a31a60c751ed4895c Modified Files -------------- src/bin/pg_basebackup/t/010_pg_basebackup.pl | 8 ++++++++ src/port/tar.c | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint @ 2015-06-22 00:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2015-06-22 00:14 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/45a1d7770743345b712dc6bdda71dd06967846be Modified Files -------------- src/port/tar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint @ 2015-06-22 00:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2015-06-22 00:14 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/926efeb042f64083e127b165ac98752dfccbff1f Modified Files -------------- src/backend/replication/basebackup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint @ 2015-06-22 00:14 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2015-06-22 00:14 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/3508ee9c3c2c4e8c0f0f3d20327051f47105da57 Modified Files -------------- src/backend/replication/basebackup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2015-06-22 00:14 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-06-22 00:14 pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint Noah Misch <noah@leadboat.com> 2015-06-22 00:14 pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint Noah Misch <noah@leadboat.com> 2015-06-22 00:14 pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint Noah Misch <noah@leadboat.com> 2015-06-22 00:14 pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint Noah Misch <noah@leadboat.com> 2015-06-22 00:14 pgsql: Truncate strings in tarCreateHeader() with strlcpy(), not sprint Noah Misch <noah@leadboat.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox