From ff85a1d76bffb07a7a7f7e17acaade4daa4c5812 Mon Sep 17 00:00:00 2001 From: DH Date: Thu, 24 Apr 2025 14:13:34 +0300 Subject: [PATCH] ps3fw/cellL10n: avoid buffer OOB access --- ps3fw/cellL10n.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps3fw/cellL10n.cpp b/ps3fw/cellL10n.cpp index 38e405c0f..0241b91c8 100644 --- a/ps3fw/cellL10n.cpp +++ b/ps3fw/cellL10n.cpp @@ -1356,7 +1356,7 @@ s32 SBCSstoUTF8s(vm::cptr src, vm::ptr src_len, vm::ptr dst, vm::pt return SRCIllegal; } - longval = *reinterpret_cast(dst_tmp); + longval = *reinterpret_cast(dst_tmp); utf8_len = dst_len_tmp; }