gdiplus: Avoid recursively locking image in GdipImageRotateFlip.
commitd6b4321125ded56e4d368e85dd2a451e4f9b477c
authorJinoh Kang <jinoh.kang.kr@gmail.com>
Sat, 22 Oct 2022 11:38:47 +0000 (22 20:38 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 24 Oct 2022 09:17:35 +0000 (24 11:17 +0200)
tree0d20e02338b1462aea921b9e4e1b21150f170f01
parent8e73b48f343e45100f71f51ef3c02fc4bbef2ed0
gdiplus: Avoid recursively locking image in GdipImageRotateFlip.

GdipImageRotateFlip() calls GdipBitmapLockBits() while holding the image
lock, resulting in a recursive lock.

Since GdipImageRotateFlip() uses GdipBitmapLockBits() only to obtain
Scan0 and Stride, replace them with equivalent fields from GpBitmap
itself.
dlls/gdiplus/image.c