On 2014-10-23 11:32, jgardou(a)svn.reactos.org wrote:
- if ( dwFileSize < (sizeof(*dir) +
sizeof(dir->idEntries[0])*(dir->idCount-1)) )
+ if (dwFileSize < (sizeof(*dir) + FIELD_OFFSET(CURSORICONFILEDIR,
idEntries[dir->idCount])))
Did you mean to remove the sizeof(*dir)?