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 ff47cc661d s3: libsmb: Ensure return from net_share_enum_rpc() sets cli->raw_status on error.
Convert net_share_enum_rpc() to return an NTSTATUS and ensure the
status is set correctly on error so SMBC_errno() can return it.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Nov  5 12:36:48 UTC 2019 on sn-devel-184
2019-11-05 12:36:48 +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 CVE-2019-10218 - s3: libsmb: Protect SMB2 client code from evil server returned names. 2019-10-29 10:04:45 +00:00
cli_smb2_fnum.h libsmb: Add cli_smb2_set_info_fnum 2019-03-20 22:07:45 +00:00
cliconnect.c s3:libsmb: Do not check the SPNEGO neg token for KRB5 2019-10-12 14:33:32 +00:00
clidfs.c s3/libsmb: clang: Fix 'Dereference of undefined pointer value' 2019-10-22 17:28:27 +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 libsmb: Remove unused is_andx_req 2019-06-18 12:53:59 +00:00
clierror.c Fix spelling s/unitialized/uninitialized/ 2018-05-12 02:09:27 +02:00
clifile.c s3/libsmb: clang: Fix 'the left operand of '-' is a garbage value' 2019-10-22 18:48:43 +00:00
clifsinfo.c libsmb: Use sid_parse() 2019-03-12 00:42:19 +00:00
clilist.c CVE-2019-10218 - s3: libsmb: Protect SMB1 client code from evil server returned names. 2019-10-29 10:04:44 +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
clirap2.c s3/libsmb: clang: Fix 'Value stored to 'p' is never read' warning 2019-08-27 23:04:37 +00:00
clirap.c s3/libsmb: clang: Fix 'Assigned value is garbage or undefined' 2019-10-22 17:28:27 +00:00
clirap.h
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
clistr.c
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 libsmb: Give dsgetdcname.c its own header 2018-04-11 01:06:39 +02:00
errormap_wbc.c
errormap_wbc.h
errormap.c
libsmb_cache.c
libsmb_compat.c s3: libsmb: Added new API smbc_readdirplus2() 2019-10-30 20:44:31 +00:00
libsmb_context.c s3: libsmb: Added new API smbc_readdirplus2() 2019-10-30 20:44:31 +00:00
libsmb_dir.c s3: libsmb: Ensure return from net_share_enum_rpc() sets cli->raw_status on error. 2019-11-05 12:36:48 +00:00
libsmb_file.c s3: libsmbclient: Fix return value if cli_open() fails 2019-05-19 17:34:21 +00:00
libsmb_misc.c
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: Print debug message about Netbios 2019-01-09 18:40:44 +01:00
libsmb_setget.c s3: libsmb: Added new API smbc_readdirplus2() 2019-10-30 20:44:31 +00:00
libsmb_stat.c s3: libsmb: Move setting all struct stat fields into setup_stat(). 2019-10-30 20:44:31 +00:00
libsmb_thread_impl.c
libsmb_thread_posix.c
libsmb_xattr.c
libsmb.h
namecache.c lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
namequery_dc.c s3:libnet: Require sealed LDAP SASL connections for joining 2019-10-09 07:06:35 +00:00
namequery.c s3/libsmb: clang: Fix 'warning: Value stored to 'status' is never read' 2019-08-28 01:47:40 +00:00
namequery.h libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
nmblib.c s3/libsmb: clang: Fix value stored to 'offset' is never read 2019-08-28 01:47:40 +00:00
nmblib.h libnmb: Move "read_packet" to nmbd 2018-01-24 05:48:19 +01:00
passchange.c s3:smbpasswd: Print debug message about Netbios 2019-01-09 18:40:44 +01:00
proto.h CVE-2019-10218 - s3: libsmb: Protect SMB1 client code from evil server returned names. 2019-10-29 10:04:44 +00:00
pylibsmb.c s3/libsmb/py: avoid null deref with bad python arguments 2019-07-22 22:20:26 +00:00
reparse_symlink.c
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 samlogon_cache: add netsamlog_cache_for_all() 2017-07-03 19:59:09 +02:00
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 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: libsmb: Added new API smbc_readdirplus2() 2019-10-30 20:44:31 +00:00