winbindd: make xids a const argument to wb_xids2sids_send()
authorRalph Boehme <slow@samba.org>
Fri, 22 Feb 2019 15:29:07 +0000 (16:29 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Mar 2019 19:29:13 +0000 (19:29 +0000)
commitf877231507eae5e68def7fa4948d2b2792c14a0d
tree9a54ad85081ca16e35ba860197d9b7e3088fcc15
parent07820a3144f24253f9ddb64f40d76a3e80e6535d
winbindd: make xids a const argument to wb_xids2sids_send()

The previous commit made an internal copy of xids, this commit makes it
more obvious that we must not mess with the xids argument but treat it as
an in-parameter and don't write to it.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13802

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 5d277ea7ea258676b9ea5081a451a5874af115f6)
source3/winbindd/wb_xids2sids.c
source3/winbindd/winbindd_proto.h