fix(keyboard): use bounded OEM dictionary accessor #1005
Reference in New Issue
Block a user
Delete Branch "agent/bittle/keyboard-oem-bounds"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Correctness fix
Two OEM dictionary lookups pass indices 10–19 to getZiDicData(int), whose implementation indexes the 10-element system array. Use the existing OEM accessor with indices 0–9 instead. Physical target addresses and fallback selection remain unchanged; the C++ accesses now respect the declared subarray bounds.
Independent verification
Type/access correctness only, with no percentage gain claimed. No header, data, metadata or linking change.
Parent baseline:
e4a9449256Tested tree:
0cd4e59b41DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
No merge performed or requested by this author.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.