mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 00:23:37 +00:00
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;
|
||||
}
|
||||
r1++;
|
||||
left = r1->left;
|
||||
if (r1 != r1End)
|
||||
left = r1->left;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue