pgsql: Remove obsolete defense against strxfrm() bugs. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Remove obsolete defense against strxfrm() bugs.
Date
Msg-id E1ppJ5S-003vRE-6s@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Fix list_copy_head() with empty Lists
Next
From: Amit Kapila
Date:
Subject: pgsql: Restart the apply worker if the 'password_required' option is ch