2005/12/10, Mike McCormack mike@codeweavers.com:
Unfortunately, problem is that GetBitmapBits function in wine is incorrect, and may causes a buffer overflow, but the GetDIBits isn't.
Great. Then we need to fix it, not try avoid it.
Yes, but I'm out of ideas how to fix it. The problem is that it takes in to account only physical pixmap (as it was called in x11drv/bitmap.c) but it should take pair physical pixmap/logical bitmap, and make pixels conversion from one to another.
-- Cyril Margorin