Fix mapping bug in kernel
See https://moodle-app2.let.ethz.ch/mod/forum/discuss.php?d=100246
This commit is contained in:
parent
10138df397
commit
ca52d1ed91
@ -525,7 +525,7 @@ caps_map_l3(struct capability* dest,
|
||||
{
|
||||
assert(0 == (kpi_paging_flags & ~KPI_PAGING_FLAGS_MASK));
|
||||
|
||||
if (slot + pte_count >= VMSAv8_64_PTABLE_NUM_ENTRIES) {
|
||||
if (slot >= VMSAv8_64_PTABLE_NUM_ENTRIES) {
|
||||
return SYS_ERR_VNODE_SLOT_INVALID;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user