1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/libcli
Joseph Sutton feb36dbebf lib/util: Change function to mem_equal_const_time()
Since memcmp_const_time() doesn't act as an exact replacement for
memcmp(), and its return value is only ever compared with zero, simplify
it and emphasize the intention of checking equality by returning a bool
instead.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-09 22:49:29 +00:00
..
composite s4-libcli: Remove unused header from composite/composite.c 2019-11-10 22:27:47 +00:00
dgram s4:libcli: Covscan: unchecked return value for file_save() 2022-05-14 03:49:32 +00:00
ldap dsdb: Return dsdb_password_change control name to DSDB_CONTROL_PASSWORD_CHANGE_OLD_PW_CHECKED_OID 2022-03-17 01:57:38 +00:00
rap s4-libcli/rap: Set the switch_value before NDR_BUFFERS to prepare for new libndr behaviour 2019-12-12 02:30:40 +00:00
raw lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
resolve lib: addns: Fix ads_dns_lookup_srv() and functions to return size_t * num servers. 2020-09-15 10:09:37 +00:00
smb2 lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
smb_composite CVE-2016-2124: s4:libcli/sesssetup: don't fallback to non spnego authentication if we require kerberos 2021-11-09 19:45:34 +00:00
util Add SMB2 lsa helper routines 2020-04-28 18:09:39 +00:00
wbclient wbclient: "ev" is no longer used in wbc_xids_to_sids 2016-09-28 00:04:36 +02:00
wrepl
cliconnect.c s4:libcli: fix 'Conditional jump or move' valgrind error 2016-04-25 10:35:15 +02:00
clideltree.c s4: libcli: In smbcli_deltree() use smbcli_unlink_wcard() in place of smbcli_unlink(). 2021-12-09 18:06:35 +00:00
clifile.c s4: libcli: smbcli_unlink() is no longer used with wildcard patterns. 2021-12-09 18:06:35 +00:00
clilist.c util: Drop unused variable num_received 2022-02-17 18:12:51 +00:00
climessage.c
clireadwrite.c source4/libcli/clireadwrite.c: typo fixes 2019-10-31 00:43:37 +00:00
clitrans2.c
finddc.h
finddcs_cldap.c s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used 2015-05-20 19:29:30 +02:00
libcli.h s4: libcli: Add smbcli_unlink_wcard(). 2021-12-09 18:06:35 +00:00
wscript_build s4:libcli: Remove (now unused) pysmb.c bindings 2019-01-26 04:05:25 +01:00