USER32: cursoricon

Alexandre Julliard julliard at
Tue Jan 11 09:49:43 CST 2005

Vitaly Lipatov <lav at> writes:

> Well, have you any suggestions about read access error in next lines?
>   for (i=0; i < entries; i++)
>       size += bits->idEntries[i].dwDIBSize + (fCursor ? sizeof(POINT16): 0);
> I guess there is incorrect number of entries (idCount).
> Can I check it for some reasonable values?

Sure, check that it doesn't go beyond the end of the file.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list