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...