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 638c4435a0 smbXsrv_session: set session->db_rec = NULL after session->db_rec = local_rec
This actually fixes crashes due to stale pointers.

With multi-channel and with 2 (or more) connections,
we'll call smbXsrv_session_disconnect_xconn() when a connection
gets disconnected, but we'll leave smbXsrv_client and all other
connections in place.

However smbXsrv_session_disconnect_xconn_callback() left
a stale session->db_rec pointer in place, which means
a following smbXsrv_session_logoff() will call
dbwrap_record_delete(local_rec) on a stale pointer.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-03-06 02:20:05 +00:00
..
auth s3/auth: implement "winbind:ignore domains" 2021-01-21 21:48:30 +00:00
build
client clitar: restore mtime on files 2021-01-27 19:26:03 +00:00
exports
groupdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
include VFS: Remove SMB_VFS_LISTXATTR, no longer used 2021-02-26 21:28:33 +00:00
intl
lib g_lock: Fix uninitalized variable reads 2021-03-05 11:22:07 +00:00
libads auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
libgpo/gpext Spelling fixes s/emtpy/empty/ 2019-09-01 22:21:26 +00:00
libnet auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
librpc smbd: Remove "have_share_modes" from "struct share_mode_data" 2020-12-04 22:32:38 +00:00
libsmb s3:libsmb: fix a typo in a comment 2021-03-01 03:50:35 +00:00
locale pam_winbind/ro.po: fix error from previous patch merge 2020-10-29 20:49:16 +00:00
locking locking: Fix an uninitialized variable read 2021-03-05 10:18:07 +00:00
modules vfs_aixacl2: Fix "mem_ctx" and "ppdesc" smb_fget_nt_acl_nfs4 args 2021-03-03 12:36:13 +00:00
nmbd lib: give global_contexts.c its own header file 2021-01-08 20:31:33 +00:00
param smbd/notify: add option "honor change notify privilege" 2020-12-17 15:01:53 +00:00
passdb passdb: Fix a typo 2021-01-08 20:31:33 +00:00
printing printing: use correct error out in get_correct_cversion() when openat_pathref_fsp() fails 2021-02-17 19:53:00 +00:00
profile s3:profile: Allow profile subsystem to use SHA1 in FIPS mode 2019-07-09 13:31:46 +00:00
registry s3:registry Renaming get_charset() to smbreg_get_charset() 2021-02-10 21:00:28 +00:00
rpc_client rpc_client: Simplify rpc_pipe_open_ncalrpc() 2021-01-12 00:10:30 +00:00
rpc_server librpc: Convert find_interface_by_uuid to search by syntax_id 2021-01-28 16:58:35 +00:00
rpcclient s3:rpcclient: Add missing break in switch statement 2021-02-01 21:50:32 +00:00
script s3: tests: Add regression test for bug 13992. 2021-02-02 19:54:34 +00:00
selftest s3:selftest: run test_smbclient_tarmode.pl with a fixed subdirectory name 2021-01-27 09:56:29 +00:00
services
smbd smbXsrv_session: set session->db_rec = NULL after session->db_rec = local_rec 2021-03-06 02:20:05 +00:00
torture s3/torture: migrate SMB_VFS_FLISTXATTR calls to SMB_VFS_FLISTXATTR 2021-02-26 21:28:33 +00:00
utils s3:testparm: Warn about 'server schannel = no' 2021-02-09 03:08:42 +00:00
web
winbindd winbind: Remove noisy error message in wb_open_internal_pipe() 2021-03-06 02:20:05 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript s3/wscript: only check for F_SETLEASE being available at compile time 2020-12-07 19:02:33 +00:00
wscript_build s3:waf: Do not link tevent_glib_glue_test against popt_samba3 2021-01-13 20:28:34 +00:00
wscript_configure_system_ncurses