Fixed an infite loop in winedbg: review wanted

Florian Köberle FloriansKarten at web.de
Wed Sep 10 02:54:11 CDT 2008


Hello

This patch address the infinite loop found at bug 15209:
http://bugs.winehq.org/show_bug.cgi?id=15209

At least one of the lines I moved in the loop doesn't make sense outsite:
count -= min(count, 256);
because the value of count will be always 0 after the loop.

I also moved the following line which might be at the wrong position
too. About that I am not sure:
+                    fcp->Start += 256;

Best regards,
Florian Koeberle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-an-infinite-loop-in-winedbg.patch
Type: text/x-diff
Size: 918 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080910/2be1648d/attachment.patch 


More information about the wine-patches mailing list