Campbell Barton
0742ef808f
Fix writing past struct bounds of GHOST_TEventImeData
...
IME editing would cast GHOST_TEventImeData to wmIMEData then read/write
an additional member that doesn't exist in GHOST_TEventImeData.
In practice it's likely struct padding prevented this from showing up
as a bug. Nevertheless it's bad practice to rely on this.
- Make GHOST_TEventImeData read-only, move the is_ime_composing boolean
into the window.
- Add static assert to ensure both structs are the same size.
- Correct code comments.
2023-10-08 14:29:08 +11:00
..
2023-10-06 13:51:04 +02:00
2023-10-05 14:38:51 +02:00
2023-10-05 13:55:35 +11:00
2023-10-02 12:10:08 +11:00
2023-09-22 03:18:17 +02:00
2023-08-16 00:20:26 +10:00
2023-09-29 21:44:36 +02:00
2023-10-07 18:29:48 +11:00
2023-10-05 12:57:31 +11:00
2023-10-07 18:29:46 +11:00
2023-10-06 14:00:54 +02:00
2023-10-08 14:29:08 +11:00
2023-09-25 17:53:11 -04:00
2023-09-22 03:18:17 +02:00
2023-09-25 17:06:04 +10:00
2023-10-07 15:22:49 -07:00
2023-09-23 21:17:50 +10:00
2023-10-06 03:02:17 +02:00
2023-09-25 17:53:11 -04:00
2023-09-28 11:46:52 +02:00
2023-09-22 03:18:17 +02:00
2023-10-05 12:57:31 +11:00
2023-10-06 15:42:22 +02:00
2023-09-22 03:18:17 +02:00
2023-10-06 13:51:04 +02:00
2023-09-25 17:53:11 -04:00
2023-09-27 15:46:18 +02:00
2023-10-05 13:55:35 +11:00
2023-09-26 19:50:48 +10:00
2023-09-26 16:48:47 +02:00
2023-10-06 13:51:04 +02:00
2023-10-05 13:33:37 +11:00
2023-09-26 23:07:29 +02:00
2023-09-26 18:18:56 +02:00
2023-10-06 15:36:37 +02:00
2023-10-05 12:57:31 +11:00
2023-09-25 17:53:11 -04:00
2023-10-05 16:13:15 +02:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-10-05 13:09:47 +11:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-10-06 03:02:17 +02:00
2023-10-07 12:08:06 -03:00
2023-09-25 17:53:11 -04:00
2023-10-03 14:12:42 +02:00
2023-09-27 08:43:56 +02:00
2023-09-27 15:46:18 +02:00