src/uid_wrapper.c: Avoid dclose(RTLD_NEXT)
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 10 Nov 2022 18:34:12 +0000 (18:34 +0000)
committerAndreas Schneider <asn@samba.org>
Tue, 17 Jan 2023 13:25:46 +0000 (14:25 +0100)
commit30bbcea2b7a142c7e361806f5fdf0e145b915f7d
tree51a20ffbf0b39cf27a27ebfed328b4ee54a8f48b
parent15627c333aa250a8a47414847bc6923d21d0a2b7
src/uid_wrapper.c: Avoid dclose(RTLD_NEXT)

In case the libc was not found and RTLD_NEXT is used instead, we should not
dlclose it, otherwise mayhem happens.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15228

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/uid_wrapper.c