1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/selftest/flapping.d
Volker Lendecke ddf47e7fe3 smbd: Remove callback for release_ip when "state" is free'ed
If a client connects to a non-public address first followed by a connect
to public address with the same client_guid and a connection to
the non-public address gets disconnected first, we hit by a use-after-free
talloc_get_type_abort() called from release_ip() as
"xconn" is already gone, taking smbd_release_ip_state with it.

We need to decide between calling ctdbd_unregister_ips() by default, as
it means the tcp connection is really gone and ctdb needs to remove the
'tickle' information.  But when a connection was passed to a different
smbd process, we need to use ctdbd_passed_ips() as the tcp connection is
still alive and the 'tickle' information should not be removed within
ctdb.

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2023-12-15 11:06:34 +00:00
..
dnsserver CVE-2019-14861: s4-rpc/dnsserver: Confirm sort behaviour in dcesrv_DnssrvEnumRecords 2019-12-10 09:18:46 +00:00
getdcname
nbt_dgram selftest: Fix code spelling 2023-07-05 06:34:32 +00:00
README selftest: fix typos in README files 2021-03-01 03:50:35 +00:00
rfc2307
samba_tool_drs_showrepl
smb2_notify
smb2-multichannel selftest/flapping: Mark smb2.multichannel.bugs.bug_15346(nt4_dc) flapping 2023-11-02 19:14:37 +00:00
wbinfo
whoami

# Files in this directory contain lists of regular expressions
# matching the names of tests that are that are flapping. In other
# words, they sometimes succeed and sometimes fail, depending on
# external factors.
#
# "make test" will not report failures or successes for tests listed here.
#
# DO NOT ADD TESTS HERE UNLESS THEY ARE ACTUALLY FLAPPING
#
# It is much better to add known failing tests to 'knownfail', so the
# test system can warn when they actually start passing.
#
# Empty lines and lines beginning with '#' are ignored.
# Please don't add tests to this README!