gdi32 (1/2): fix runaway loop because of unsigned comparison in BIDI_Reorder

Alexander Dorofeyev alexd14 at hushmail.com
Tue Oct 23 02:49:39 CDT 2007


It was crashing with right to left strings because loop condition k >= lastgood
always evaluated to true, when lastgood is 0.
---
     dlls/gdi32/bidi.c |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 706e71398f468344ddb475939a58bee0021cc0a7.diff
Type: text/x-patch
Size: 691 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071023/84a70f09/attachment-0001.bin 


More information about the wine-patches mailing list