pgsql: Revoke support for strxfrm() that write past the specified array

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Revoke support for strxfrm() that write past the specified array
Date: 2015-07-09 00:46:23
Message-ID: E1ZCzyp-0008Qs-6m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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
------
master

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

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-07-09 03:17:14 Re: pgsql: Replace our hacked version of ax_pthread.m4 with latest upstream
Previous Message Heikki Linnakangas 2015-07-08 21:12:06 pgsql: Move pthread-tests earlier in the autoconf script.