[4/5] WineD3D: Some more ProcessVertices fixes

Stefan Dösinger stefan at codeweavers.com
Tue May 8 17:20:37 CDT 2007

The write beyond end of buffer fix doesn't account writing beyond the end of 
the vertex buffer, since thats an incorrect situation on windows too which 
can crash and won't be well checkable. It only accounts for overwriting a 
temporary working buffer.

This fix fixes a bug that got triggered by the next patch in the 
processvertices test(delayed crash due to heap corruption).

Note that fixing the strided data here should be clean because ProcessVertices 
works on its own strided data structure, not the one from the device.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-WineD3D-Some-more-ProcessVertices-fixes.patch
Type: text/x-diff
Size: 4208 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070509/2e44e2aa/0004-WineD3D-Some-more-ProcessVertices-fixes.bin

More information about the wine-patches mailing list