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>
Sun, 8 Oct 2023 20:06:59 +0000 (22:06 +0200)
commit3e6d7e10b4417e348fb4d2942b2eb13197576ab3
treeaf030a61e171182370419ba5b10485f679af0ddb
parent06a434bcc31cc428f7b5912027348de8e6660449
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