On 2014-10-23 11:32, [email protected] 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)? _______________________________________________ Ros-dev mailing list [email protected] http://www.reactos.org/mailman/listinfo/ros-dev
