mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:winbind: Fix pointer access in wb_lookupusergroups_recv()
Fixes CID 1507350 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
b17cae66e7
commit
450b8da834
@ -111,7 +111,7 @@ NTSTATUS wb_lookupusergroups_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
|
||||
*num_sids);
|
||||
for (i = 0; i < *num_sids; i++) {
|
||||
struct dom_sid_buf buf;
|
||||
D_INFO("%u: %s\n", i, dom_sid_str_buf(&*sids[i], &buf));
|
||||
D_INFO("%u: %s\n", i, dom_sid_str_buf(&((*sids)[i]), &buf));
|
||||
}
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user