1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/nsswitch
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
..
krb5_plugin libwbclient: add error WBC_ERR_NOT_MAPPED 2024-07-26 10:06:31 +00:00
libwbclient nsswitch: Fix memory leak in wbcDomainInfoList 2024-10-24 10:54:37 +00:00
tests tests: Add a test for "all_groups=no" to test_idmap_ad.sh 2024-04-02 13:25:39 +00:00
b15464-testcase.c nsswitch: add test for pthread_key_delete missuse (bug 15464) 2023-09-14 17:56:30 +00:00
nsstest.c nsswitch: Fix memory leak in nsstest 2024-10-24 10:54:37 +00:00
nsstest.h nsswitch: Fix checking for config.h #define in nsstest.h 2018-12-16 21:04:10 +01:00
pam_winbind.c libwbclient: add error WBC_ERR_NOT_MAPPED 2024-07-26 10:06:31 +00:00
pam_winbind.h pam_winbind: add new pwd_change_prompt option (defaults to off). 2021-12-16 03:05:30 +00:00
stress-nss-libwbclient.c nsswitch: Fix CID 1518966 Resource leaks (RESOURCE_LEAK) 2023-03-03 01:07:36 +00:00
wb_common.c nsswitch: Fix integer size types in winbind_write_sock() 2024-07-18 12:47:30 +00:00
wb_reqtrans.c
wb_reqtrans.h
wbinfo.c nsswitch: Fix memory leak in wbinfo_auth_krb5() 2024-10-24 10:54:37 +00:00
winbind_client.h nsswitch: move winbindd_free_response() as inline function to winbind_struct_protocol.h 2021-11-30 15:53:34 +00:00
winbind_nss_aix.c nsswitch: Fix code spelling 2023-06-23 13:44:31 +00:00
winbind_nss_config.h
winbind_nss_freebsd.c nsswitch: explicitly mark nss_module_register() _PUBLIC_ on FreeBSD 2021-11-30 15:53:34 +00:00
winbind_nss_hpux.h
winbind_nss_linux.c nsswitch: Fix code spelling 2023-06-23 13:44:31 +00:00
winbind_nss_linux.h nsswitch: explicitly mark NSS_STATUS _nss_winbind_* symbols as _PUBLIC_ on Linux 2021-11-30 15:53:34 +00:00
winbind_nss_netbsd.c winbind_nss_netbsd: fix missing semicolon 2023-12-29 12:49:34 +00:00
winbind_nss_netbsd.h
winbind_nss_solaris.c nsswitch: Fix code spelling 2023-06-23 13:44:31 +00:00
winbind_nss_solaris.h nsswitch: maintain prototypes for the linux based functions only once 2018-04-03 16:41:09 +02:00
winbind_nss.h nsswitch: Fix checking for config.h #define in winbind_nss.h 2018-12-16 21:04:10 +01:00
winbind_struct_protocol.h s3:winbind: Convert InitConnection from struct based to NDR based 2022-05-19 17:51:33 +00:00
wins_freebsd.c nsswitch: explicitly mark nss_module_register() _PUBLIC_ on FreeBSD 2021-11-30 15:53:34 +00:00
wins.c nsswitch/wins: Define NETDB_* for other libc's 2022-08-08 06:33:38 +00:00
wscript_build buildtools: Remove useless ‘keep_underscore’ parameter 2023-12-11 01:08:37 +00:00
wscript_configure nss/waf: check for secmethod_table.method_{attrlist,version} for aix >= 5.2 2018-12-22 06:22:22 +01:00