mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
Add missing userToSecure args in smcComputeCmac
This commit is contained in:
parent
0340085c67
commit
9b54bc536b
@ -105,7 +105,7 @@ uint32_t user_compute_cmac(smc_args_t *args) {
|
|||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (upage_init(&page_ref, (void *)user_address) == 0 || user_copy_to_secure() == 0) {
|
if (upage_init(&page_ref, (void *)user_address) == 0 || user_copy_to_secure(&page_ref, user_data, user_address, size) == 0) {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user