1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/libsmb
Volker Lendecke 874c693b58 smbd: Don't crash in cli_fsctl_send()
If you run "allinfo" on a symlink with NT1, cli_readlink_send sends a
NULL "in" blob. Do the same as smb2cli_ioctl_send() does, just send
NULL/0 in that case and don't crash.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2023-08-10 13:40:31 +00:00
..
ABI s3:libsmb: Use cli_credentials_set_smb_encryption() 2020-08-19 16:22:42 +00:00
async_smb.c
auth_generic.c s3:libsmb: Check return code of cli_credentials_guess() 2021-06-29 02:19:35 +00:00
cli_smb2_fnum.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
cli_smb2_fnum.h libsmb: Make cli_smb2_qpathinfo2() asynchronous 2023-04-18 14:58:36 +00:00
cliconnect.c s3/libsmb: fix a typo in parameter description 2023-01-17 17:21:38 +00:00
clidfs.c s3:libsmb: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
clidgram.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
clidgram.h
clientgen.c libsmb: Adapt cli_echo_send() to modern conventions 2023-04-18 14:58:36 +00:00
clierror.c libcli: Remove NT_STATUS_INACCESSIBLE_SYSTEM_SHORTCUT error code 2021-11-11 19:08:37 +00:00
clifile.c smbd: Don't crash in cli_fsctl_send() 2023-08-10 13:40:31 +00:00
clifsinfo.c libsmb: Save a few lines in cli_unix_extensions_version() 2022-08-26 18:54:37 +00:00
clilist.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
climessage.c
clioplock.c libsmb: Use tevent_req_nterror()'s retval 2022-09-19 17:23:31 +00:00
cliprint.c s3:libsmb: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
cliquota.c
clirap.c libsmb: Make cli_smb2_qpathinfo2() asynchronous 2023-04-18 14:58:36 +00:00
clirap.h libsmb: Add cli_fsctl_send/recv 2022-10-03 20:03:32 +00:00
clireadwrite.c libsmb: Remove "trans_oob()" macro 2021-11-11 19:08:37 +00:00
clisecdesc.c libsmb: Make cli_set_security_descriptor() async 2020-11-16 19:53:45 +00:00
clispnego.c
clisymlink.c libsmb: Make readlink issue posix_readlink 2022-12-05 15:06:32 +00:00
clitrans.c
conncache.c
dsgetdcname.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
dsgetdcname.h s3-dsgetdcname: add dsgetonedcname() 2021-07-14 16:49:30 +00:00
errormap_wbc.c
errormap_wbc.h
errormap.c
libsmb_cache.c libsmb: Make setting errno safer in SMBC_add_cached_server() 2023-04-18 14:58:36 +00:00
libsmb_compat.c libsmb: Slightly simplify smbc_init() 2023-04-18 14:58:36 +00:00
libsmb_context.c libsmb: Tab-indent SMBC_module_[init|terminate]() 2022-08-26 18:54:37 +00:00
libsmb_dir.c libsmb: Convert SMBC_getatr() to NTSTATUS 2022-02-07 19:00:34 +00:00
libsmb_file.c s3: libsmbclient: Fix smbc_stat() to return ENOENT on a non-existent file. 2022-10-19 00:13:56 +00:00
libsmb_misc.c
libsmb_path.c s3:libsmb: Add missing parenthesis to logging message 2023-08-08 04:39:38 +00:00
libsmb_printjob.c libsmb: Avoid a call to SMBC_errno() 2022-02-17 17:13:34 +00:00
libsmb_server.c s3:libsmb: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
libsmb_setget.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
libsmb_stat.c libsmb: Convert SMBC_getatr() to NTSTATUS 2022-02-07 19:00:34 +00:00
libsmb_thread_impl.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
libsmb_thread_posix.c
libsmb_xattr.c libsmb: fix regression on smbc_getxattr and fix doc 2023-04-09 09:49:30 +00:00
libsmb.h
namecache.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
namequery_dc.c s3:libads: Allocate ADS_STRUCT under a talloc context 2022-06-27 15:50:30 +00:00
namequery.c libsmb: increase a debug level when site-aware DC lookup failed 2023-07-21 16:19:35 +00:00
namequery.h lib: Move sockaddr_storage_to_samba_sockaddr() to lib/ 2021-01-11 13:19:32 +00:00
nmblib.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
nmblib.h
passchange.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
proto.h libsmb: Add SMB1 posix cli_mknod 2023-06-16 16:14:31 +00:00
pylibsmb.c pylibsmb: Add smb1_stat() 2023-06-16 16:14:31 +00:00
samlogon_cache.c s3:winbind: Improve logging in samlogon_cache.c 2022-07-15 14:25:38 +00:00
samlogon_cache.h
smbclient.pc.in
smberr.c
smbsock_connect.c
trusts_util.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
unexpected.c
unexpected.h
wscript s3:libsmb: Use cli_credentials_set_smb_encryption() 2020-08-19 16:22:42 +00:00