No subject


Thu Nov 15 09:34:07 CST 2007


The test under Windows shows that CreateBitmap(0x10000,0x10000, 1, 1, NULL)
fails and returns 0 (and sets last error to either ERROR_INVALID_PARAMETER or
ERROR_NOT_ENOUGH_MEMORY depending how big width and height I pass), but
CreateBitmap(0x10000,0x100, 1, 1, NULL) succeeds.
Furthermore CreateCompatibleBitmap() in Wine already checks whether width
or height exceed 0x10000 and fails. This check looks incorrect basing on
above test results, looks like we need to check for a real overflow/memory
allocation failure.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list