mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-19 13:42:00 +00:00
Fix bounds check in sceKernelPrintf().
Wasn't allowing a string ending in %08x.
This commit is contained in:
parent
04e2a78f82
commit
fff0af844b
@ -617,7 +617,7 @@ int sceKernelPrintf(const char *formatString)
|
||||
break;
|
||||
|
||||
case '0':
|
||||
if (i + 3 >= n || format[i + 1] != '8' || format[i + 2] != 'x')
|
||||
if (i + 3 > n || format[i + 1] != '8' || format[i + 2] != 'x')
|
||||
supported = false;
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user