fs.mitm: fix data abort
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user