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:
David Marcec committed 2018-12-19 12:52:32 +11:00
1 parent 39262921f2
commit fdd649e2ef
14 files changed
+33 -3

No files matched your search

+1
View File
@@ -187,6 +187,7 @@ T Read(const VAddr vaddr) {
default:
UNREACHABLE();
}
return {};
}
template <typename T>