1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/libsmb
Jeremy Allison 8ea51f4135 s3: libsmb: Cleanup - Make ipstr_list_make() talloc rather than malloc.
Remove the excessive and unneeded ipstr_list_add() function,
fold it into ipstr_list_make() to make it much clearer what
we're doing.

The only use of MALLOC now is in ipstr_list_parse() returned
by namecache_fetch(). We need to fix the caller before
we can move that to talloc. As that is used inside internal_resolve_name()
which is designed to return a MALLOC'ed ip list from all
name resolution mechanisms leave that fix for another day.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jul 16 08:16:31 UTC 2020 on sn-devel-184
2020-07-16 08:16:31 +00:00
..
ABI s3:smbclient added ABI signature file 2019-10-30 22:18:15 +00:00
async_smb.c
auth_generic.c
cli_smb2_fnum.c s3: libsmb: Fix SMB2 client rename bug to a Windows server. 2020-07-01 18:59:53 +00:00
cli_smb2_fnum.h libsmb: Remove unused cli_smb2_qfileinfo_basic() 2020-06-04 18:36:17 +00:00
cliconnect.c Revert "s3:libsmb: add a cache for cli_session_creds_prepare_krb5()" 2020-06-10 10:10:15 +00:00
clidfs.c libsmb: Remove clistr_pull_talloc() 2020-05-28 19:11:38 +00:00
clidgram.c libsmb: Pass "account_name/flags" through nb_getdc 2018-04-11 01:06:39 +02:00
clidgram.h libsmb: Pass "account_name/flags" through nb_getdc 2018-04-11 01:06:39 +02:00
clientgen.c s3:libsmb: remove finally unused credential flags 2020-05-28 08:04:12 +00:00
clierror.c libsmb: Remove unused cli_errstr() 2020-05-25 08:13:28 +00:00
clifile.c libsmb: Remove unused sync version of cli_getattrE() 2020-06-04 17:11:39 +00:00
clifsinfo.c libsmb: Remove clistr_pull_talloc() 2020-05-28 19:11:38 +00:00
clilist.c s3: libsmb: Make cli_list_trans() and cli_list take a 32-bit attribute. 2020-06-04 17:11:38 +00:00
climessage.c s3/libsmb: clang: Fix 'Value stored to 'p' is never read' 2019-10-22 17:28:27 +00:00
clioplock.c libsmb: Use cli_lockingx() in cli_oplock_ack() 2019-06-18 12:53:59 +00:00
cliprint.c
cliquota.c s3/libsmb: clang: Fix 'Value stored during initialization is never read' 2019-08-28 03:06:42 +00:00
clirap.c libsmb: Fix a typo 2020-06-10 22:20:46 +00:00
clirap.h libsmb: Add async cli_qfileinfo_basic 2020-06-04 17:11:39 +00:00
clireadwrite.c s3/libsmb: clang: Fix 'warning: Assigned value is garbage or undefined ' 2019-08-28 00:22:49 +00:00
clisecdesc.c s3:libsmb: add cli_query_mxac() 2019-03-04 18:11:17 +00:00
clispnego.c CVE-2020-10704: lib util asn1: Add ASN.1 max tree depth 2020-05-04 02:59:31 +00:00
clistr.c libsmb: Remove clistr_pull_talloc() 2020-05-28 19:11:38 +00:00
clisymlink.c s3:libsmb: pass impersonation_level to cli_ntcreate_send() 2018-12-13 08:52:24 +01:00
clitrans.c libsmb: Make cli_trans_send cancellable 2018-11-21 16:53:41 +01:00
conncache.c lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
dsgetdcname.c s3/libsmb: clang: Fix 'Value stored during its initialization is never read' 2019-09-26 18:41:27 +00:00
dsgetdcname.h
errormap_wbc.c
errormap_wbc.h
errormap.c lib: Align integer types 2020-01-19 18:29:39 +00:00
libsmb_cache.c
libsmb_compat.c s3: libsmb: Added new API smbc_readdirplus2() 2019-10-30 20:44:31 +00:00
libsmb_context.c libsmb: Fix a typo 2020-03-03 17:48:37 +00:00
libsmb_dir.c s3: libsmb: Change cli_setatr() and async version to use 32-bit attributes. 2020-06-04 17:11:38 +00:00
libsmb_file.c libsmb: Remove cli_getattrE() fallback from cli_qfileinfo_basic() users 2020-06-04 17:11:39 +00:00
libsmb_misc.c libsmb: Make SMBC_dlist_contains return bool 2020-05-25 08:13:27 +00:00
libsmb_path.c Spelling fixes s/wont /won't / 2019-09-01 22:21:27 +00:00
libsmb_printjob.c
libsmb_server.c s3:libsmb_server: fix error handling in SMBC_server_internal() 2020-05-28 06:43:39 +00:00
libsmb_setget.c s3: libsmb: Added new API smbc_readdirplus2() 2019-10-30 20:44:31 +00:00
libsmb_stat.c libsmb: Remove cli_getattrE() fallback from cli_qfileinfo_basic() users 2020-06-04 17:11:39 +00:00
libsmb_thread_impl.c
libsmb_thread_posix.c
libsmb_xattr.c libsmb: Remove the CREATE_ACCESS_READ #define 2020-05-28 19:11:39 +00:00
libsmb.h
namecache.c s3: libsmb: Cleanup - Make ipstr_list_make() talloc rather than malloc. 2020-07-16 08:16:31 +00:00
namequery_dc.c s3:libnet: Require sealed LDAP SASL connections for joining 2019-10-09 07:06:35 +00:00
namequery.c libsmb: Use ARRAY_DEL_ELEMENT() in remove_duplicate_addrs2() 2020-03-26 14:43:31 +00:00
namequery.h
nmblib.c s3:libsmb: move cli_set_message() to source3/libsmb/nmblib.c 2020-02-26 19:45:36 +00:00
nmblib.h s3:libsmb: move cli_set_message() to source3/libsmb/nmblib.c 2020-02-26 19:45:36 +00:00
passchange.c s3:smbpasswd: Print debug message about Netbios 2019-01-09 18:40:44 +01:00
proto.h libsmb: Remove unused sync version of cli_getattrE() 2020-06-04 17:11:39 +00:00
pylibsmb.c pylibsmb: Use cli_qfileinfo_basic_send() in py_smb_filesize() 2020-06-04 17:11:40 +00:00
reparse_symlink.c libsmb: Add overflow protection to symlink_reparse_buffer_marshall() 2020-06-15 17:59:39 +00:00
samlogon_cache.c lib:util: Move discard_const(_p) to own header for libndr.h 2019-02-14 15:59:26 +01:00
samlogon_cache.h
smbclient.pc.in
smberr.c
smbsock_connect.c s3/libsmb: clang: Fix 'Assigned value is garbage or undefined' 2019-10-22 17:28:27 +00:00
trusts_util.c s3/libsmb: clang: value stored to 'idx_current' is never read 2019-09-26 18:41:28 +00:00
unexpected.c
unexpected.h
wscript s3: libsmb: Added new API smbc_readdirplus2() 2019-10-30 20:44:31 +00:00