pgsql: Remove obsolete defense against strxfrm() bugs.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove obsolete defense against strxfrm() bugs.
Date: 2023-04-20 01:27:51
Message-ID: E1ppJ5S-003vRE-6s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2023-04-20 04:09:20 pgsql: Restart the apply worker if the 'password_required' option is ch
Previous Message David Rowley 2023-04-19 22:35:03 pgsql: Fix list_copy_head() with empty Lists