mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s4:torture: Initialize pointers in libnetapi user test
Found by Undefined Sanitizer. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
3e58e83be5
commit
dbeb806d4a
@ -271,8 +271,8 @@ static NET_API_STATUS test_netusergetgroups(struct torture_context *tctx,
|
||||
uint8_t *buffer = NULL;
|
||||
int i;
|
||||
|
||||
struct GROUP_USERS_INFO_0 *i0;
|
||||
struct GROUP_USERS_INFO_1 *i1;
|
||||
struct GROUP_USERS_INFO_0 *i0 = NULL;
|
||||
struct GROUP_USERS_INFO_1 *i1 = NULL;
|
||||
|
||||
torture_comment(tctx, "Testing NetUserGetGroups level %d\n", level);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user