Re: [PATCH 1/7] gdiplus: Make GpBitmap->bitmapbits access thread safe
Feb. 10, 2017
2:12 a.m.
Copying the lock value in move_bitmap seems wrong to me, as it breaks any locks on the destination. Locking the source doesn't make sense because the caller is supposed to control the only reference to it. I'm not sure it makes sense in free_image_data either, as it leaves the image in an invalid state. Anything calling it should have a lock if this is important. I think it is possible to get unlock != true, when GdipImageRotateFlip calls GdipBitmapLockBits.
February 2017
8:15 a.m.
New subject: [PATCH 1/7] gdiplus: Make GpBitmap->bitmapbits access thread safe
I'll send a fixed set of patches. Thank you, Piotr
3331
Age (days ago)
3331
Last active (days ago)
1 comments
2 participants
participants (2)
-
Piotr Caban -
Vincent Povirk