31 Jul
2023
31 Jul
'23
3:32 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);
Since this was a recent addition, I wonder if it is known whether the original values here are critical to exercising the special case this was written for. @DarkShadow44 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3461#note_40832