Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
This commit is contained in:
parent
4e57c35bdc
commit
1dfb0a513a
14 changed files with 33 additions and 3 deletions
|
@ -187,6 +187,7 @@ T Read(const VAddr vaddr) {
|
|||
default:
|
||||
UNREACHABLE();
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue