CVE-2023-34968: mdssvc: switch to doing an early return
authorRalph Boehme <slow@samba.org>
Tue, 20 Jun 2023 09:05:22 +0000 (11:05 +0200)
committerJule Anger <janger@samba.org>
Fri, 14 Jul 2023 13:16:30 +0000 (15:16 +0200)
commit0fdfc85f28a21f66aa2f1d7e337fe9184368e972
treedb540e57968b6933a74b3c15fad9160809e9a07c
parent34f9f1b37ec07a4f233fe90a0e97ce504e0cdffb
CVE-2023-34968: mdssvc: switch to doing an early return

Just reduce indentation of the code handling the success case. No change in
behaviour.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_server/mdssvc/mdssvc.c