gdi32: Prevent character code from wrapping around.

Alexandre Julliard julliard at winehq.org
Mon Jan 24 09:05:38 CST 2011


Kusanagi Kouichi <slash at ac.auone-net.jp> writes:

> If lastChar is 0xffffffff, FONT_GetCharsByRangeA falls into
> infinite loop and crash.

You probably want more sanity checks (with tests), characters above
0xffff wouldn't make sense anyway.

-- 
Alexandre Julliard
julliard at winehq.org




More information about the wine-devel mailing list