mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
ps3fw/cellL10n: avoid buffer OOB access
This commit is contained in:
parent
7115851c82
commit
ff85a1d76b
|
|
@ -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…
Reference in a new issue