pgsql: libpq: Authorize pthread_exit() in libpq_check

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: libpq: Authorize pthread_exit() in libpq_check
Date: 2025-12-10 05:13:19
Message-ID: E1vTCVq-003kaK-2n@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

libpq: Authorize pthread_exit() in libpq_check

pthread_exit() is added to the list of symbols allowed when building
libpq. This has been reported as possible when libpq is statically
linked to libcrypto, where pthread_exit() could be called.

Reported-by: Torsten Rupp <torsten(dot)rupp(at)gmx(dot)net>
Author: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/19095-6d8256d0c37d4be2@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8268e66ac64cb846517580e0808f971343391fdf

Modified Files
--------------
src/interfaces/libpq/libpq_check.pl | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-12-10 05:53:24 Re: pgsql: injection_points: Remove portions related to custom pgstats
Previous Message Michael Paquier 2025-12-10 04:05:39 Re: pgsql: injection_points: Remove portions related to custom pgstats