1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3
Stefan Metzmacher 87e25cd1e4 s3:smb2_server: correctly maintain request counters for compound requests
If a session expires during a compound request chain,
we exit smbd_smb2_request_dispatch() with
'return smbd_smb2_request_error(req, ...)' before
calling smbd_smb2_request_dispatch_update_counts().

As req->request_counters_updated was only reset
within smbd_smb2_request_dispatch_update_counts(),
smbd_smb2_request_reply_update_counts() was called
twice on the same request, which triggers
SMB_ASSERT(op->request_count > 0);

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2018-04-12 11:28:17 +02:00
..
auth s3:auth: support AUTH_SESSION_INFO_NTLM in finalize_local_nt_token() 2018-03-19 20:30:49 +01:00
build
client smbclient: Handle ENUM_DIR in "notify" command 2018-04-05 04:05:52 +02:00
exports
groupdb groupdb: Fix CID 1167984 Ignoring number of bytes read 2018-04-04 00:44:23 +02:00
include lib/util: Move log_stack_trace() to common code 2018-04-11 01:06:39 +02:00
intl lib: Give util_paths.c its own header 2017-06-24 01:21:10 +02:00
lib lib/util: Move log_stack_trace() to common code 2018-04-11 01:06:39 +02:00
libads libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
libgpo/gpext gpo: fix the building of gpext to only once 2017-11-20 21:41:14 +01:00
libnet libsmb: Give dsgetdcname.c its own header 2018-04-11 01:06:39 +02:00
librpc Revert "Use "localhost" to be ipv6 only friendly" 2018-03-19 15:34:32 +01:00
libsmb libsmb: Pass "account_name/flags" through nb_getdc 2018-04-11 01:06:39 +02:00
locale pam_winbind: initial Turkish translation 2017-11-15 13:52:05 +01:00
locking s3:locking: Fix integer overflow check in posix_lock_in_range() 2018-03-20 23:16:16 +01:00
modules s3: vfs: vfs_streams_xattr: Don't blindly re-use the base file mode bits. 2018-04-11 23:09:12 +02:00
nmbd nmbd: Fix a typo 2018-04-11 01:06:39 +02:00
param wscript_build: fix c modules deps name for Python 3 2018-04-05 08:59:09 +02:00
passdb pdb_nds: Fix CID 1273401 Unused value 2018-04-07 02:11:20 +02:00
printing s3:printing: Fix size types 2018-04-03 20:20:10 +02:00
profile s3-profile: reduce dependencies of smbprofile.h 2016-03-28 20:45:16 +02:00
registry s3:registry: Fix size types and length calculations 2018-03-21 04:25:39 +01:00
rpc_client libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
rpc_server rpc_server: Init local_server_* in make_internal_rpc_pipe_socketpair 2018-04-11 15:19:19 +02:00
rpcclient s3:rpcclient: Fix size types 2018-03-20 23:16:16 +01:00
script s3: tests: Regression test to ensure we can never return a DIRECTORY attribute on a stream. 2018-04-12 02:04:28 +02:00
selftest Add test for wbinfo name lookup 2018-04-06 17:58:38 +02:00
services srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
smbd s3:smb2_server: correctly maintain request counters for compound requests 2018-04-12 11:28:17 +02:00
torture libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
utils libsmb: Give dsgetdcname.c its own header 2018-04-11 01:06:39 +02:00
web
winbindd winbind: Fix CID 1427625 Calling risky function 2018-04-11 19:07:24 +02:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript lib/util: Move log_stack_trace() to common code 2018-04-11 01:06:39 +02:00
wscript_build libsmb: Remove unused trustdom_cache.c 2018-04-11 01:06:39 +02:00
wscript_configure_system_ncurses