LoadImage (4bpp) / CopyImage() crashing

Cyril Margorin comargo at gmail.com
Fri Dec 9 17:03:52 CST 2005

2005/12/10, Mike McCormack <mike at 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

More information about the wine-devel mailing list