libpq: Authorize pthread_exit() in libpq_check
authorMichael Paquier <[email protected]>
Wed, 10 Dec 2025 04:56:33 +0000 (13:56 +0900)
committerMichael Paquier <[email protected]>
Wed, 10 Dec 2025 04:56:33 +0000 (13:56 +0900)
commit8268e66ac64cb846517580e0808f971343391fdf
treebd3c346e34b10bb9ba44d2e496cc747523968ddc
parent1d7b00dc14b8efd22f6e971756c2d9c052863234
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 <[email protected]>
Author: Nazir Bilal Yavuz <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/19095-6d8256d0c37d4be2@postgresql.org
src/interfaces/libpq/libpq_check.pl