winbindd: Ensure we do not look at rid_array before checking if it was returned
authorAndrew Bartlett <abartlet@samba.org>
Fri, 28 Mar 2014 03:30:28 +0000 (16:30 +1300)
committerDavid Disseldorp <ddiss@samba.org>
Wed, 2 Apr 2014 09:05:46 +0000 (11:05 +0200)
commit95e0d759ac7584d8e27240f11a4b51077b61929c
tree7d754811a93be875f4ab0fdfdcd6a94b8c9278d3
parent8d2843731862a3faed94dc92e9c5a0541d51f4ff
winbindd: Ensure we do not look at rid_array before checking if it was returned

We no longer return early if there are no members, we just return an empty array.

Change-Id: I7b0949e0c0b9277426a8007514a8658615f6c709
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/winbindd/winbindd_rpc.c