[Bug 42727] obsolete 128MB bitmap size limit
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jul 10 14:33:44 CDT 2017
https://bugs.winehq.org/show_bug.cgi?id=42727
--- Comment #6 from Claude Heiland-Allen <claude at mathr.co.uk> ---
Possible fix?
/* Windows doesn't allow creating bitmaps larger than 2GiB */
if (bm.bmHeight >= 2LL * 1024 * 1024 * 1024 / bm.bmWidthBytes)
{
SetLastError( ERROR_NOT_ENOUGH_MEMORY );
return 0;
}
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list