mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
fs.mitm: fix data abort
This commit is contained in:
parent
be4ca7eee5
commit
9f972831cc
@ -270,7 +270,8 @@ Result FsMitmService::OpenBisStorage(Out<std::shared_ptr<IStorageInterface>> out
|
|||||||
} else {
|
} else {
|
||||||
/* Do not allow non-sysmodules to read *or* write CAL0. */
|
/* Do not allow non-sysmodules to read *or* write CAL0. */
|
||||||
fsStorageClose(&bis_storage);
|
fsStorageClose(&bis_storage);
|
||||||
return ResultFsPermissionDenied;
|
rc = ResultFsPermissionDenied;
|
||||||
|
return rc;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (is_sysmodule || has_bis_write_flag) {
|
if (is_sysmodule || has_bis_write_flag) {
|
||||||
|
Loading…
Reference in New Issue
Block a user