patch for dlls/gdi32/dib.c: fixes crash
Octavian Voicu
octavian.voicu at gmail.com
Wed Jul 27 12:00:13 CDT 2011
On Wed, Jul 27, 2011 at 6:44 PM, Wolfgang Walter <wine at stwm.de> wrote:
> - char src_bmibuf[FIELD_OFFSET( BITMAPINFO, bmiColors[256] )];
> - BITMAPINFO *src_info = (BITMAPINFO *)src_bmibuf;
> - char dst_bmibuf[FIELD_OFFSET( BITMAPINFO, bmiColors[256] )];
> - BITMAPINFO *dst_info = (BITMAPINFO *)dst_bmibuf;
There's another instance of that in GetDIBits. Allocating 2KB+ (2 x
1064 bytes) of data on the stack is not very reasonable I guess.
Octavian
More information about the wine-devel
mailing list