Remove obsolete defense against strxfrm() bugs.
Thomas Munro <tmunro@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/main/main.c | modified | +0 −2 |
| src/backend/utils/adt/pg_locale.c | modified | +0 −58 |
| src/backend/utils/init/postinit.c | modified | +0 −2 |
| src/include/utils/pg_locale.h | modified | +0 −1 |
Discussion
- check_strxfrm_bug() 33 messages · 2022-12-15 → 2023-07-10