mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libwbclient: Fix CID 1414781 Dereference null return value
Basically a cut&paste error from somewhere else Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Jul 12 22:12:22 CEST 2017 on sn-devel-144
This commit is contained in:
parent
9c68f99654
commit
bebf90f7a1
@ -812,7 +812,7 @@ wbcErr wbcCtxGetSidAliases(struct wbcContext *ctx,
|
||||
|
||||
rids = (uint32_t *)wbcAllocateMemory(response.data.num_entries,
|
||||
sizeof(uint32_t), NULL);
|
||||
BAIL_ON_PTR_ERROR(sids, wbc_status);
|
||||
BAIL_ON_PTR_ERROR(rids, wbc_status);
|
||||
|
||||
s = (const char *)response.extra_data.data;
|
||||
for (i = 0; i < response.data.num_entries; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user