Description
1. Add the following code to the bottom of win32ss/user/ntuser/ime.c:
_Static_assert(offsetof(THREADINFO, spwndDefaultIme) < 0xC1, ""); |
_Static_assert(offsetof(THREADINFO, spwndDefaultIme) == 0xC1, ""); |
_Static_assert(offsetof(THREADINFO, spwndDefaultIme) > 0xC1, ""); |
2. Rebuild ReactOS. I got: THREADINFO-spwndDefaultIme-0xC1-abnormal.png
Offset 0xC1 is not DWORD-aligned.
So, I found the memory layout of THREADINFO structure is broken. Q.E.D.
0.4.14 bc8a4ac
Attachments
Issue Links
- blocks
-
CORE-11700 supporting Japanese input
- Resolved