31 Jul
2023
31 Jul
'23
12:05 p.m.
Jeffrey Smith (@whydoubt) commented about dlls/gdiplus/tests/graphicspath.c:
/* path seen in the wild that caused a stack overflow */ status = GdipAddPathArc(path, -136.33, 20.00, 786.00, 786.00, -105.00, 30.00); expect(Ok, status); - status = GdipAddPathArc(path, 256.67, 413.00, 0.00, 0.00, -75.00, -30.00); + status = GdipAddPathArc(path, 256.67, 413.00, 1.00, 1.00, -75.00, -30.00);
Unless it is causing a fault on Windows, I think there should still be a test for the zero-width/zero-height case. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3461#note_40763