[PATCH v2] gdiplus: Each pen dash array element must be greater than zero.
Vincent Povirk (they/them)
vincent at codeweavers.com
Sat Feb 15 10:21:21 CST 2020
> /* Some invalid array values. */
> + dashes[9] = 0.0;
> status = GdipSetPenDashArray(pen, &dashes[7], 5);
> expect(InvalidParameter, status);
> dashes[9] = -1.0;
Please test the result of GdipSetPenDashArray with those arguments
before changing dashes[9]. I'd like to see that we start out with
valid arguments, so we can be sure we didn't make the same mistake
again.
More information about the wine-devel
mailing list