1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/libcli/raw
Stefan Metzmacher dd037b0be4 s4:libcli/raw: make sure smbcli_transport_connect_send/recv correctly cleanup on error
We need to make sure that we remove any pending writev_send or read_smb_send
request before closing the socket fd. As a side effect we always close the
socket fd if we don't return success for any any reason.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2015-06-12 17:08:17 +02:00
..
clierror.c
clioplock.c s4-libcli: Check return value of smbcli_request_setup(). 2013-02-22 16:36:13 +01:00
clisession.c s4:libcli/raw: setup a smbXcli_session for each smbcli_session 2012-07-23 22:13:29 +02:00
clisocket.c s4:libcli/raw: make sure smbcli_transport_connect_send/recv correctly cleanup on error 2015-06-12 17:08:17 +02:00
clitransport.c s4:libcli/raw: fix up the max_protocol value for the current transport connection 2014-11-27 16:45:05 +01:00
clitree.c s4-libcli: Check return value of smbcli_request_setup(). 2013-02-22 16:36:13 +01:00
interfaces.h s4/client: add FS_SECTOR_SIZE_INFORMATION query support 2015-03-18 18:57:20 +01:00
libcliraw.h s4:libcli:smb2: add the smb2_capabilities to the smbcli_options 2013-10-05 14:04:07 +02:00
rawacl.c
rawdate.c
raweas.c Fix bug #10010 - Missing integer wrap protection in EA list reading can cause server to loop with DOS. 2013-08-05 14:39:04 +02:00
rawfile.c s4:libcli/raw: s/SMBchkpth/SMBcheckpath 2011-07-12 16:50:55 +02:00
rawfileinfo.c
rawfsinfo.c s4/ntvfs: support FS_SECTOR_SIZE_INFORMATION query-info 2015-03-18 18:57:21 +01:00
rawioctl.c
rawlpq.c
rawnegotiate.c s4:libcli/raw: implement on top of smbXcli_conn/req 2011-11-30 15:13:36 +01:00
rawnotify.c s4:libcli/raw: implement on top of smbXcli_conn/req 2011-11-30 15:13:36 +01:00
rawreadwrite.c s4:libcli/raw: Make flags2 and offset available to callers of readx 2014-08-30 00:27:13 +02:00
rawrequest.c s4:libcli/raw: setup a smbXcli_tcon for each smbcli_tree 2012-07-24 18:44:05 +02:00
rawsearch.c s4:libcli/raw: make short_name available in buffer 2014-12-04 22:11:08 +01:00
rawsetfileinfo.c RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data out on the network. 2011-08-27 07:48:29 +02:00
rawshadow.c libcli: move ioctl function field defs to smb_constants 2011-10-19 15:44:29 +02:00
rawtrans.c libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and smb1cli_trans* 2012-07-24 21:22:44 +02:00
README
request.h
signing.h lib/param move source4 param code to the top level 2011-10-11 13:41:34 +11:00
smb_signing.c build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
smb.h libcli/smb: move some *TRANSACT_* flags to smb_constants.h 2014-01-07 08:37:38 +01:00
smbclient-raw.pc.in cli-raw: Add public libsmbclient-raw library. 2011-08-18 14:19:18 +02:00
trans2.h s4/client: add FS_SECTOR_SIZE_INFORMATION query support 2015-03-18 18:57:20 +01:00

Design notes for client library restructure:

1 - no references to cli_state should exist in libcli/raw.
2 - all interfaces to functions in this directory should use cli_session or cli_tree as
	the primary context structure