1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/libsmb
Noel Power b934082462 s3/libsmb: Avoid potential smbpanic calling parse_user_quota_list.
Calling parse_user_quota_list with a NULL buffer can cause a panic, while
this shouldn't happen, I managed to trigger this with an early implementation
of SMB2 quota support in smbd which didn't pass back NT_STATUS_NO_MORE_ENTRIES
when handling a SMB2_0_INFO_QUOTA GETINFO message.
OTHOH the Windows client handled the same situation gracefully.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13553

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2018-07-31 16:56:24 +02:00
..
ABI s3:libsmbclient: Use const for setting and getting strings 2018-05-17 01:10:28 +02:00
async_smb.c s3: libsmb: Add uint16_t addtional_flags2 to cli_smb_req_create(). 2016-08-19 20:03:12 +02:00
auth_generic.c s3:auth_generic: add "ntlmssp_resume_ccache" backend in auth_generic_client_prepare() 2016-03-10 06:52:28 +01:00
cli_smb2_fnum.c s3/libsmb: Avoid potential smbpanic calling parse_user_quota_list. 2018-07-31 16:56:24 +02:00
cli_smb2_fnum.h s3: libsmb: Add SMB2 calls cli_smb2_get_reparse_point_fnum_send()/cli_smb2_get_reparse_point_fnum_recv(). 2017-12-06 15:02:16 +01:00
cliconnect.c libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
clidfs.c CVE-2017-12150: s3:libsmb: only fallback to anonymous if authentication was not requested 2017-09-20 13:04:10 +02: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 libsmb: Use smb2 tcon if conn_protocol >= SMB2_02 2018-03-02 00:39:58 +01:00
clierror.c Fix spelling s/unitialized/uninitialized/ 2018-05-12 02:09:27 +02:00
clifile.c s3: libsmb: Make cli_close_send()/cli_close_recv() work for SMB1 and SMB2. 2017-12-06 15:02:16 +01:00
clifsinfo.c s3: smbclient: Implement "volume" command over SMB2. 2017-11-15 15:56:24 +01:00
clilist.c s3: client: Add btime_ts to struct finfo. 2018-05-05 01:39:40 +02:00
climessage.c s3: libsmb: Add uint16_t additional_flags2 arg to cli_smb_send(). 2016-08-19 20:03:11 +02:00
clioplock.c s3: libsmb: Add uint16_t additional_flags2 arg to cli_smb_send(). 2016-08-19 20:03:11 +02:00
cliprint.c
cliquota.c cliquota: support setting file system quota via SMB2 2016-10-04 02:00:23 +02:00
clirap2.c s3:libsmb/clirap: remove unused cli_get_server_*() functions 2016-07-06 22:41:41 +02:00
clirap.c s3: libsmb: Add cli_smb2_setpathinfo(), to be called by cli_setpathinfo_basic(). 2017-07-25 17:43:15 +02:00
clirap.h s3:libsmb/clirap: remove unused cli_get_server_*() functions 2016-07-06 22:41:41 +02:00
clireadwrite.c s3: libsmbclient: Fix cli_splice() fallback when reading less than a complete file. 2018-07-13 14:57:14 +02:00
clisecdesc.c Convert all uint32/16/8 to _t in source3/libsmb. 2015-05-13 19:11:23 +02:00
clispnego.c s3:libsmb: remove unused functions in clispnego.c 2016-03-10 06:52:30 +01:00
clistr.c s3: libsmb: Add return args to clistr_is_previous_version_path(). 2016-08-22 19:10:22 +02:00
clisymlink.c s3: libsmb: Plumb in the new SMB2 get reparse point calls into the cli_readlink_XXXX() calls. 2017-12-06 19:05:34 +01:00
clitrans.c s3: libsmb: Add uint16_t addtional_flags2 to cli_trans_send(). 2016-08-19 20:03:12 +02:00
conncache.c
dsgetdcname.c libsmb: Pass "account_name/flags" through nb_getdc 2018-04-11 01:06:39 +02:00
dsgetdcname.h libsmb: Give dsgetdcname.c its own header 2018-04-11 01:06:39 +02:00
errormap_wbc.c
errormap_wbc.h
errormap.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
libsmb_cache.c
libsmb_compat.c s3: libsmbclient: Add new function SMBC_readdirplus_ctx(). 2018-05-05 01:39:40 +02:00
libsmb_context.c s3:libsmbclient: cleanup smbc_setWorkgroup() usage 2018-05-17 01:10:28 +02:00
libsmb_dir.c s3: libsmbclient: Add new function SMBC_readdirplus_ctx(). 2018-05-05 01:39:40 +02:00
libsmb_file.c libsmbclient: Initialize written value before use. 2018-07-09 18:46:13 +02:00
libsmb_misc.c Convert all uint32/16/8 to _t in source3/libsmb. 2015-05-13 19:11:23 +02:00
libsmb_path.c
libsmb_printjob.c libsmb: Fix CID 1034606 Incorrect pointer comparison 2015-09-09 21:33:49 +02:00
libsmb_server.c s3: libsmbclient: Fix hard-coded connection error return of ETIMEDOUT. 2018-05-03 02:42:20 +02:00
libsmb_setget.c s3:libsmbclient: Use const for setting and getting strings 2018-05-17 01:10:28 +02:00
libsmb_stat.c Convert all uint32/16/8 to _t in source3/libsmb. 2015-05-13 19:11:23 +02:00
libsmb_thread_impl.c
libsmb_thread_posix.c
libsmb_xattr.c libsmb: Use fstr_sprint in convert_sid_to_string 2015-06-26 22:35:02 +02:00
libsmb.h
namecache.c
namequery_dc.c libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
namequery.c tevent: Fix callers of tevent_req_set_endtime 2018-04-24 19:41:15 +02:00
namequery.h libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
nmblib.c s3:libsmb: Fix size types in nmblib 2018-03-20 23:16:15 +01:00
nmblib.h libnmb: Move "read_packet" to nmbd 2018-01-24 05:48:19 +01:00
passchange.c s3:libsmb: Pass domain to remote_password_change() 2017-08-23 13:16:20 +02:00
proto.h s3: libsmb: Rename cli_close_create() -> cli_smb1_close_create(). 2017-12-06 15:02:16 +01:00
pylibsmb.c python3 port for libsmb_samba_internal module 2018-04-05 08:59:09 +02:00
reparse_symlink.c
samlogon_cache.c s3:libsmb/samlogon_cache: zero session keys before storing the info3 structure 2018-03-19 20:30:52 +01:00
samlogon_cache.h samlogon_cache: add netsamlog_cache_for_all() 2017-07-03 19:59:09 +02:00
smb_share_modes.c Convert all uint32/16/8 to _t in source3/libsmb. 2015-05-13 19:11:23 +02:00
smbclient.pc.in
smberr.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
smbsock_connect.c s3:libsmb: remove pending requests as early as possible via a smbsock_any_connect_cleanup() hook 2015-06-12 17:08:17 +02:00
trusts_util.c libsmb: Remove incorrect fall through comment in trusts_util.c 2018-03-01 09:52:37 +01:00
unexpected.c libsmb: Fix an error path memleak 2018-02-13 16:42:22 +01:00
unexpected.h libnmb: Make nb_packet_read_recv return a talloc'ed pkt 2018-01-24 00:58:17 +01:00
wscript s3:libsmbclient: Use const for setting and getting strings 2018-05-17 01:10:28 +02:00