mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
Added missing memset to accountListAllUsers
This commit is contained in:
parent
2099402746
commit
8579441371
@ -113,6 +113,7 @@ Result accountListAllUsers(u128* userIDs, size_t max_userIDs, size_t *actual_tot
|
|||||||
{
|
{
|
||||||
Result rc=0;
|
Result rc=0;
|
||||||
u128 temp_userIDs[ACC_USER_LIST_SIZE];
|
u128 temp_userIDs[ACC_USER_LIST_SIZE];
|
||||||
|
memset(temp_userIDs, 0, sizeof(temp_userIDs));
|
||||||
|
|
||||||
rc = _accountListAllUsers(temp_userIDs);
|
rc = _accountListAllUsers(temp_userIDs);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user