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 07:39:28 +0000 (07:39 +0000)
commit8234ef264a7d9344b412a0b2b36dc4c6b47876e4
tree713d89410020462b6b963a2c250d976ec8deff51
parenta76277af385b10518dccf83ccb1b49173d625881
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