CVE-2023-42670 s3-rpc_server: Remove cross-check with "samba" EPM lookup
authorAndrew Bartlett <abartlet@samba.org>
Tue, 12 Sep 2023 04:23:49 +0000 (16:23 +1200)
committerJule Anger <janger@samba.org>
Mon, 9 Oct 2023 20:14:05 +0000 (22:14 +0200)
commit81b816c648939559a58751f6c7b48c11631f6e4d
tree4d51279784c9ff4983422b0d42d554f7c2e5f294
parent338021c79adac86c44454ef3ba9175fbcf10b7b4
CVE-2023-42670 s3-rpc_server: Remove cross-check with "samba" EPM lookup

We now have ensured that no conflicting services attempt to start
so we do not need the runtime lookup and so avoid the risk that
the lookup may fail.

This means that any duplicates will be noticed early not just
in a race condition.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_server/rpc_host.c