problem with silly CreateBitmap call

Francois Gouget fgouget at
Thu Sep 6 17:50:19 CDT 2007

On Thu, 6 Sep 2007, Deun wrote:
> The size of the bitmap seems crazy... So I've made a patch to
> fix this in bitmap.c by setting 1x1 size in case of stupid
> input instead of failing with BadAlloc. However, since it works
> fine on real windows, so I'm not sure about the behaviour that
> the function should have.

Seems like a good candidate for a conformance test. Call the API with 
the crazy values and see what comes out...

Francois Gouget <fgouget at>    
     We are Pentium of Borg. You will be approximated. Division is futile.

More information about the wine-devel mailing list