[PATCH 1/5] gdi32: Don't overflow the buffer in GetGlyphOutline.

Alexandre Julliard julliard at winehq.org
Tue Sep 30 10:43:08 CDT 2014


Matteo Bruni <mbruni at codeweavers.com> writes:

> The code already mixes tabs and spaces; since newer stuff seems to be
> using spaces I'm using spaces for the new code too. I'm cleaning up the
> lines nearby while at it.
> It's quite a bit of code motion, hopefully the actual changes are still
> readable enough.

It breaks the tests:

../../../tools/runtest -q -P wine -T ../../.. -M d3dx9_36.dll -p d3dx9_36_test.exe.so mesh && touch mesh.ok
mesh.c:4199: Test failed: Expected: 0, Got: 0.637207
mesh.c:4200: Test failed: Expected: 632928, Got: 0.464355
mesh.c:4201: Test failed: Expected: 0, Got: 0.00195312
mesh.c:4202: Test failed: Expected: 0, Got: 0.464355
mesh.c:4203: Test failed: Expected: 0, Got: 0.645508
mesh.c:4199: Test failed: Expected: 0, Got: 0.0786133
mesh.c:4200: Test failed: Expected: 632928, Got: 0.640625
...

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list