1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/passdb
Andreas Schneider b3234c5574 s3:passdb: Do not leak memory if memcache add fails
Indirect leak of 496 byte(s) in 1 object(s) allocated from:
    #0 0x7ffb062dc03f in malloc (/lib64/libasan.so.8+0xdc03f) (BuildId: 3e1694ad218c99a8b1b69231666a27df63cf19d0)
    #1 0x7ffb06025b3e in __talloc_with_prefix ../../lib/talloc/talloc.c:783
    #2 0x7ffb06027512 in __talloc ../../lib/talloc/talloc.c:825
    #3 0x7ffb06027512 in _talloc_named_const ../../lib/talloc/talloc.c:982
    #4 0x7ffb06027512 in _talloc_zero ../../lib/talloc/talloc.c:2421
    #5 0x7ffb05a0332c in samu_new ../../source3/passdb/passdb.c:63
    #6 0x7ffb05a2031f in pdb_getsampwnam ../../source3/passdb/pdb_interface.c:351
    #7 0x7ffb05a0540b in local_password_change ../../source3/passdb/passdb.c:752
    #8 0x56291ddd4b8b in password_change ../../source3/utils/smbpasswd.c:273
    #9 0x56291ddd5b59 in process_root ../../source3/utils/smbpasswd.c:478
    #10 0x56291ddd5b59 in main ../../source3/utils/smbpasswd.c:661
    #11 0x7ffb024281af in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-10-27 05:54:33 +00:00
..
ABI
account_pol.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
login_cache.c
lookup_sid.c s3:passdb: Also allow to handle UPNs in lookup_name_smbconf() 2022-04-26 20:16:33 +00:00
lookup_sid.h
machine_account_secrets.c s3:passdb: Fix code spelling 2023-07-19 09:58:37 +00:00
machine_sid.c
machine_sid.h
passdb.c s3:passdb: Fix code spelling 2023-07-19 09:58:37 +00:00
pdb_compat.c
pdb_get_set.c s3:passdb: Fix code spelling 2023-07-19 09:58:37 +00:00
pdb_interface.c s3:passdb: Do not leak memory if memcache add fails 2023-10-27 05:54:33 +00:00
pdb_ldap_schema.c
pdb_ldap_schema.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap_util.c Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap_util.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap.c s3:passdb: Fix code spelling 2023-10-25 22:23:37 +00:00
pdb_ldap.h s3:passdb: Fix code spelling 2023-07-19 09:58:37 +00:00
pdb_nds.c s3:passdb: Fix code spelling 2023-10-25 22:23:37 +00:00
pdb_nds.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_samba_dsdb.c pdb: Slightly simplify pdb_samba_dsdb_set_trusteddom_pw() 2023-10-10 23:23:40 +00:00
pdb_secrets.c
pdb_secrets.h
pdb_smbpasswd.c passdb: Fix whitespace 2023-08-14 19:53:37 +00:00
pdb_smbpasswd.h
pdb_tdb.c passdb: Fix a DBG statement 2023-08-14 19:53:37 +00:00
pdb_tdb.h
pdb_util.c
py_passdb.c s3:passdb: Fix typo 2023-08-08 04:39:38 +00:00
secrets_lsa.c s3:passdb: Zero sensitive memory in lsa_secret_{set/get}_common() 2022-08-26 07:59:32 +00:00
secrets.c s3:passdb: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
wscript_build