mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
ps3fw/cellL10n: avoid buffer OOB access
This commit is contained in:
parent
7115851c82
commit
ff85a1d76b
1 changed files with 1 additions and 1 deletions
|
|
@ -1356,7 +1356,7 @@ s32 SBCSstoUTF8s(vm::cptr<u8> src, vm::ptr<u32> src_len, vm::ptr<u8> dst, vm::pt
|
|||
return SRCIllegal;
|
||||
}
|
||||
|
||||
longval = *reinterpret_cast<u64*>(dst_tmp);
|
||||
longval = *reinterpret_cast<u32*>(dst_tmp);
|
||||
utf8_len = dst_len_tmp;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue