1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/libads
Ralph Boehme 3ee690455e s3/libads: ensure a sockaddr variable is correctly zero initialized
is_zero_addr() doesn't work with addresses that have been zero-initialized.

This fixes the logic added in c863cc2ba3.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14674
MR: https://gitlab.com/samba-team/samba/-/merge_requests/2354

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb  8 20:24:12 UTC 2022 on sn-devel-184
2022-02-08 20:24:12 +00:00
..
ads_ldap_protos.h
ads_proto.h s3: libads: Add utility function ads_zero_ldap(). 2020-08-18 08:25:39 +00:00
ads_status.c krb5_wrap: move source3/libads/krb5_errs.c to lib/krb5_wrap/krb5_errs.c 2020-02-10 16:32:37 +00:00
ads_status.h
ads_struct.c s3: libads: Where we implicitly zero out ads->ldap in ads_init() or ads_destroy() ensure we call ads_zero_ldap() after. 2020-08-18 08:25:39 +00:00
authdata.c krb5_wrap: move source3/libads/krb5_errs.c to lib/krb5_wrap/krb5_errs.c 2020-02-10 16:32:37 +00:00
cldap.c s3/libads: clang: Fix Array access results in a null pointer dereference 2019-09-25 09:47:32 +00:00
cldap.h
disp_sec.c s3/libads: cppcheck fix error: shiftTooManyBitsSigned: error 2019-05-29 10:10:23 +00:00
kerberos_keytab.c s3:libads: Remove extra new line in keytab list output 2021-07-02 11:45:48 +00:00
kerberos_proto.h auth/kerberos: add auth4_context_{for,get}_PAC_DATA_CTR() helpers 2020-02-10 16:32:36 +00:00
kerberos_util.c s3:libads: let kerberos_kinit_password_ext() return the canonicalized principal/realm 2019-09-24 18:30:37 +00:00
kerberos.c libads: Improve a debug message 2020-10-02 21:30:32 +00:00
krb5_setpw.c s3:libads: Do not turn on canonicalization flag for MIT Kerberos 2019-10-12 17:39:13 +00:00
ldap_printer.c
ldap_schema_oids.h
ldap_schema.c
ldap_schema.h
ldap_user.c
ldap_utils.c s3/libads: clang: Fix 'Value stored during initialization is never read' 2019-09-26 18:41:27 +00:00
ldap.c s3/libads: ensure a sockaddr variable is correctly zero initialized 2022-02-08 20:24:12 +00:00
ndr.c
net_ads_setspn.c
sasl_wrapping.c
sasl.c s3:libads: Disable NTLMSSP if not allowed (for builds without kerberos) 2022-01-21 23:33:36 +00:00
sitename_cache.c libads: Convert sitename_key() to talloc 2022-01-18 20:22:38 +00:00
sitename_cache.h
util.c Spelling fixes s/convertion/conversion/ 2019-09-01 22:21:26 +00:00