]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2020-25717 wb_sids2xids: move more checks to wb_sids2xids_next_sids2unix()
authorStefan Metzmacher <metze@samba.org>
Tue, 15 Sep 2020 11:19:14 +0000 (13:19 +0200)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:09 +0000 (10:52 +0100)
commitca5cf8d35b9756c9d65831718c5032533612c94a
tree42825d00e945f1727d701e0ac6fd400ad5d7ef66
parent27b73f9d343821881221ea95d486acaba0098952
CVE-2020-25717 wb_sids2xids: move more checks to wb_sids2xids_next_sids2unix()

For the first run this is a no-op, but it simplified the caller.

We'll call wb_sids2xids_next_sids2unix() in a few more places in future
and it's easier to have this all within wb_sids2xids_next_sids2unix().

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

(cherry picked from commit 231c8d04b19a1c17937f988d142ca5c0f889d4e0)
source3/winbindd/wb_sids2xids.c