[Bug 11784] 3dsmax2008 installer crashes:err:cursor:DIB_GetBitmapInfo ( 1633746944): unknown/wrong size for header

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 11 10:28:30 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=11784


Alex Villacís Lasso <a_villacis at palosanto.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|wine-bugs at winehq.org        |a_villacis at palosanto.com
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1




--- Comment #4 from Alex Villacís Lasso <a_villacis at palosanto.com>  2008-04-11 10:28:29 ---
Created an attachment (id=12064)
 --> (http://bugs.winehq.org/attachment.cgi?id=12064)
Add validation for BMP file format in LoadImage()

This patch is a minimal validation that prevents crashes due to invalid bitmap
formats being passed to LoadImage(). Patch already sent to wine-patches.

Changelog:
* Add minimal validation in BITMAP_Load (the actual implementation of the
LoadImage(IMAGE_BITMAP) flag) that the just-loaded file is in fact a BMP file.
Reject and return 0 otherwise.
* Tests for rejection of invalid files.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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