server: Fix an invalid memory access in subtract_overlapping (Valgrind).
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
232dc29ff8
commit
79ada31714
|
@ -469,7 +469,8 @@ static int subtract_overlapping( struct region *pReg,
|
||||||
rect->bottom = bottom;
|
rect->bottom = bottom;
|
||||||
}
|
}
|
||||||
r1++;
|
r1++;
|
||||||
left = r1->left;
|
if (r1 != r1End)
|
||||||
|
left = r1->left;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue