[ros-dev] [ros-diffs] [jgardou] 64911: [USER32] - Fix LookupIconIdFromDirectoryEx, returning 0 when no matching entry is found. - Fix error handling when opening a cursor file. - Various code beautification here and the...
Thomas Faber
thomas.faber at reactos.org
Thu Oct 23 12:22:06 UTC 2014
On 2014-10-23 11:32, jgardou at 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)?
More information about the Ros-dev
mailing list