Re: [PATCH v9 0/1] MR10660: uniscribe: Correct possible buffer over/under runs
May 19, 2026
8:09 a.m.
Huw Davies (@huw) commented about dlls/gdi32/uniscribe/opentype.c:
int index_offset; int write_dir = (analysis->fRTL && !analysis->fLogicalOrder) ? -1 : 1; int offset_sign = (analysis->fRTL && analysis->fLogicalOrder) ? -1 : 1; + unsigned int k = glyph_index + write_dir;
Again, `k` for a long-lived variable is unfortunate. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10660#note_140532
31
Age (days ago)
31
Last active (days ago)
0 comments
1 participants
participants (1)
-
Huw Davies (@huw)