winbind: Make wb_sids2xids_recv work on an array
authorVolker Lendecke <vl@samba.org>
Thu, 5 Mar 2015 19:59:16 +0000 (20:59 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 7 Mar 2015 14:28:59 +0000 (15:28 +0100)
commit5ba377f3df61647e259d40a6fa24dc8445618cda
tree502687a456fd99015041a1225665035db6a85536
parent91ff65b2f63061fa66b6bcc3c142c17b03581759
winbind: Make wb_sids2xids_recv work on an array

The trigger for this is that Coverity got confused by the dual use of &xid
as an array with the implicit length equality between wb_sids2xids_send
and the array passed in to wb_sids2xids_recv for the result.

I don't want to start doing things just for the Coverity scan, but this
makes the code clearer to me by removing this implicit expected array
length equality.

Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sat Mar  7 15:28:59 CET 2015 on sn-devel-104
source3/winbindd/wb_fill_pwent.c
source3/winbindd/wb_getgrsid.c
source3/winbindd/wb_sids2xids.c
source3/winbindd/winbindd_getgroups.c
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_sid_to_gid.c
source3/winbindd/winbindd_sid_to_uid.c
source3/winbindd/winbindd_sids_to_xids.c