Fixed an infite loop in winedbg: review wanted

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


This patch address the infinite loop found at bug 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 : 

More information about the wine-patches mailing list