1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-18 06:04:06 +03:00
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
..
2023-07-05 06:34:32 +00:00
2021-03-01 03:50:35 +00:00
2018-01-12 22:42:22 +01:00
2018-01-13 03:01:10 +01:00
2018-01-12 22:42:22 +01:00

# 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!