CVE-2023-42670 s3-rpc_server: Remove cross-check with "samba" EPM lookup
commit2acdaf9860f127c179a3d2e2adb18f901854aebf
authorAndrew Bartlett <abartlet@samba.org>
Tue, 12 Sep 2023 04:23:49 +0000 (12 16:23 +1200)
committerJule Anger <janger@samba.org>
Mon, 9 Oct 2023 20:16:08 +0000 (9 22:16 +0200)
treea1b79f2e400f6a10a81aa0715500a27ecba13a42
parent51bc79f85a8d63ed5428c2975f60094157dda2e5
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