mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:05:49 +00:00
[USER32]
- Fix wrong size check. Spotted by Thomas svn path=/trunk/; revision=64926
This commit is contained in:
parent
d617e9abfc
commit
532e8139c5
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ get_best_icon_file_entry(
|
|||
if ( dwFileSize < sizeof(*dir) )
|
||||
return NULL;
|
||||
|
||||
if (dwFileSize < (sizeof(*dir) + FIELD_OFFSET(CURSORICONFILEDIR, idEntries[dir->idCount])))
|
||||
if (dwFileSize < FIELD_OFFSET(CURSORICONFILEDIR, idEntries[dir->idCount]))
|
||||
return NULL;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue