Files
AnyPS5/docs/dev/debt/changes/fix-icu-java-utf8-guest-pointers.md

711 B

libSceIcu

add Unknown function info

  • u_strFromJavaModifiedUTF8WithSub and u_strToJavaModifiedUTF8 guest pointers (libSceIcu) - the status is read once and written back only when it changes, the source is copied in with GuestCopyIn_nid_no_patch in 4 KiB-aligned chunks (up to its terminator when the length is -1), so a large length on an unreadable source fails before it is allocated, and the converted text, substitution count and length are each written with one GuestCopyOut_nid_no_patch; an unreadable or unwritable pointer throws std::invalid_argument with errno preserved, because the console's behaviour on unmapped memory is unmeasured.