mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
IRInterpreter compiler: Reject all vec2ops where the prefix is unknown
Fixes #19164 May help #19172
This commit is contained in:
1 parent
dc68f406aa
commit
5e3abe3def
2 files changed
+6
-1
No files matched your search
@@ -884,7 +884,7 @@ static int sysclib_sprintf(u32 dst, u32 fmt) {
|
||||
|
||||
DEBUG_LOG(SCEKERNEL, "sysclib_sprintf result string has length %d, content:", (int)result.length());
|
||||
DEBUG_LOG(SCEKERNEL, "%s", result.c_str());
|
||||
if (!Memory::IsValidRange(dst, result.length() + 1)) {
|
||||
if (!Memory::IsValidRange(dst, (u32)result.length() + 1)) {
|
||||
ERROR_LOG(SCEKERNEL, "sysclib_sprintf result string is too long or dst is invalid");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user