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
39262921f2
commit
fdd649e2ef
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