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)
committerVolker Lendecke <vl@samba.org>
Sat, 23 Feb 2019 06:54:09 +0000 (07:54 +0100)
commit5d277ea7ea258676b9ea5081a451a5874af115f6
tree7e46635d459bfd959747bfef577f6746f1f7fbb2
parentf5a8bc2f945be45cdade5f70d4f975bae8337f67
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>
source3/winbindd/wb_xids2sids.c
source3/winbindd/winbindd_proto.h