1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/nsswitch/libwbclient
Andreas Schneider 64294d2187 nsswitch: Fix memory leak in wbcDomainInfoList
==379167==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 44 byte(s) in 2 object(s) allocated from:
    #0 0x7f54522f6880 in strdup ../../../../libsanitizer/asan/asan_interceptors.cpp:578
    #1 0x7f54520d5a95 in process_domain_info_string ../../nsswitch/libwbclient/wbc_util.c:471
    #2 0x7f54520d5a95 in wbcCtxListTrusts ../../nsswitch/libwbclient/wbc_util.c:612
    #3 0x7f54520d6426 in wbcListTrusts ../../nsswitch/libwbclient/wbc_util.c:632
    #4 0x558c48799cf7 in wbinfo_list_domains ../../nsswitch/wbinfo.c:515
    #5 0x558c487a72db in main ../../nsswitch/wbinfo.c:3300
    #6 0x7f544f42a2ad in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2024-10-24 10:54:37 +00:00
..
ABI libwbclient: add wbc[Ctx]ChangeTrustCredentialsAt() 2022-12-21 19:10:35 +00:00
tests selftest: Extend test_wbc_logon_user to test WBFLAG_PAM_UNIX_NAME flag 2022-04-08 20:13:37 +00:00
Doxyfile
libwbclient.h
wbc_err_internal.h
wbc_guid.c nsswitch/libwbclient: explicitly mark all wbc* symbols as _PUBLIC_ 2021-11-30 15:53:34 +00:00
wbc_idmap.c nsswitch/libwbclient: explicitly mark all wbc* symbols as _PUBLIC_ 2021-11-30 15:53:34 +00:00
wbc_pam.c wbclient: Fix a typo 2024-06-04 07:11:35 +00:00
wbc_pwd.c nsswitch/libwbclient: explicitly mark all wbc* symbols as _PUBLIC_ 2021-11-30 15:53:34 +00:00
wbc_sid.c libwbclient: prepare wbcCtxLookupName() for dealing with WBC_SID_NAME_UNKNOWN 2024-07-26 10:06:31 +00:00
wbc_util.c nsswitch: Fix memory leak in wbcDomainInfoList 2024-10-24 10:54:37 +00:00
wbclient_internal.h Move wbc global variables into global context instead 2015-03-10 00:50:10 +01:00
wbclient.c libwbclient: add error WBC_ERR_NOT_MAPPED 2024-07-26 10:06:31 +00:00
wbclient.h libwbclient: add error WBC_ERR_NOT_MAPPED 2024-07-26 10:06:31 +00:00
wbclient.pc.in
wscript nsswitch: leverage TLS if available in favour over global locking 2023-01-05 11:33:37 +00:00