mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[kernel32] Check for valid atom, fixes the remaining eight kernel32 atom winetests
svn path=/trunk/; revision=43709
This commit is contained in:
parent
0b487b45aa
commit
5cb190acc6
1 changed files with 5 additions and 0 deletions
|
@ -302,6 +302,11 @@ InternalGetAtomName(BOOLEAN Local,
|
|||
SetLastErrorByStatus(STATUS_BUFFER_OVERFLOW);
|
||||
return 0;
|
||||
}
|
||||
if (!Atom)
|
||||
{
|
||||
SetLastErrorByStatus(STATUS_INVALID_PARAMETER);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Check if this is a global query */
|
||||
if (Local)
|
||||
|
|
Loading…
Reference in a new issue