Commit 521aa741 authored by Duane Clark's avatar Duane Clark Committed by Alexandre Julliard

Validate imagelists with christmas magic.

parent dadbce9a
......@@ -29,7 +29,7 @@
/* the ones with offsets at the end are the same as in Windows */
struct _IMAGELIST
{
DWORD magic; /* 00: 'LMIH' */
DWORD magic; /* 00: 'SAMX' */
INT cCurImage; /* 04: ImageCount */
INT cMaxImage; /* 08: maximages */
DWORD x3;
......@@ -53,6 +53,8 @@ struct _IMAGELIST
INT nOvlIdx[15];
};
#define IMAGELIST_MAGIC 0x53414D58
/* Header used by ImageList_Read() and ImageList_Write() */
typedef struct _ILHEAD
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment