mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
advapi32: Fix RegGetValue on REG_BINARY data.
This commit is contained in:
parent
89d458a128
commit
96ca708706
@ -1432,9 +1432,9 @@ static VOID ADVAPI_ApplyRestrictions( DWORD dwFlags, DWORD dwType,
|
||||
{
|
||||
DWORD cbExpect = 0;
|
||||
|
||||
if ((dwFlags & RRF_RT_DWORD) == RRF_RT_DWORD)
|
||||
if ((dwFlags & RRF_RT_ANY) == RRF_RT_DWORD)
|
||||
cbExpect = 4;
|
||||
else if ((dwFlags & RRF_RT_QWORD) == RRF_RT_QWORD)
|
||||
else if ((dwFlags & RRF_RT_ANY) == RRF_RT_QWORD)
|
||||
cbExpect = 8;
|
||||
|
||||
if (cbExpect && cbData != cbExpect)
|
||||
|
Loading…
Reference in New Issue
Block a user