pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Revoke support for strxfrm() that write past the specified array
Date: Thu, 09 Jul 2015 00:46:23 +0000
Message-ID: <E1ZCzyp-0008RI-9F@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Revoke support for strxfrm() that write past the specified array length.

This formalizes a decision implicit in commit
4ea51cdfe85ceef8afabceb03c446574daa0ac23 and adds clean detection of
affected systems.  Vendor updates are available for each such known bug.
Back-patch to 9.5, where the aforementioned commit first appeared.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/aaf15ee33a63c582fbb61b67befdd620e85da2ce

Modified Files
--------------
src/backend/main/main.c           |    2 ++
src/backend/utils/adt/pg_locale.c |   58 +++++++++++++++++++++++++++++++++++++
src/backend/utils/adt/selfuncs.c  |   17 +++++------
src/backend/utils/init/postinit.c |    2 ++
src/include/utils/pg_locale.h     |    1 +
5 files changed, 70 insertions(+), 10 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)  latest in thread

Message-ID: <E1ZCzyp-0008RI-9F@gemulon.postgresql.org>
Permalink:  ../E1ZCzyp-0008RI-9F@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZCzyp-0008RI-9F@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Revoke support for strxfrm() that write past the specified array
  In-Reply-To: <E1ZCzyp-0008RI-9F@gemulon.postgresql.org>
  References: <E1ZCzyp-0008RI-9F@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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