pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove obsolete defense against strxfrm() bugs.
Date: Thu, 20 Apr 2023 01:27:51 +0000
Message-ID: <E1ppJ5S-003vRE-6s@gemulon.postgresql.org> (raw)

Remove obsolete defense against strxfrm() bugs.

Old versions of Solaris and illumos had buffer overrun bugs in their
strxfrm() implementations.  The bugs were fixed more than a decade ago
and the relevant releases are long out of vendor support.  It's time to
remove the defense added by commit be8b06c3.

Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA+hUKGJ-ZPJwKHVLbqye92-ZXeLoCHu5wJL6L6HhNP7FkJ=meA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7d3d72b55edd1b7552a9a358991555994efab0e9

Modified Files
--------------
src/backend/main/main.c           |  2 --
src/backend/utils/adt/pg_locale.c | 58 ---------------------------------------
src/backend/utils/init/postinit.c |  2 --
src/include/utils/pg_locale.h     |  1 -
4 files changed, 63 deletions(-)



Message-ID: <E1ppJ5S-003vRE-6s@gemulon.postgresql.org>
Permalink:  ../E1ppJ5S-003vRE-6s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ppJ5S-003vRE-6s@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove obsolete defense against strxfrm() bugs.
  In-Reply-To: <E1ppJ5S-003vRE-6s@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