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:15:19 +0000 (22:15 +0200)
commiteb6f2d92e8af60d67334a94ab5df56785a1508f2
tree8551c19b3d53f6004a07e70056cbc27cec8c823d
parent4eba269b1ba4ce6e9f71efed9f537249d1bd2c5d
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