[PATCH v2] gdi32: Skip edge processing on overflow.
Huw Davies
huw at codeweavers.com
Tue Jun 9 04:57:11 CDT 2020
On Thu, Jun 04, 2020 at 05:15:59PM +0300, Gabriel Ivăncescu wrote:
> Fixes a regression introduced by 9bc6f004ceccf3963584a4f7f4681b5c0578c214,
> which broke when REGION_CreateEdgeTable overflowed.
>
> Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
> ---
>
> Supersedes 185732.
>
> The patch just indents the code to skip it if nb_points is zero, which can
> be from overflow.
This code was already indentation hell, so let's not make
it worse. I've sent in a new version that moves hell to
a hel-per...
Huw.
More information about the wine-devel
mailing list