Commit 2a00807f authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Fixed hex to binary conversion.

parent 4c903ea4
......@@ -1666,7 +1666,7 @@ BOOL WINAPI SetupGetBinaryField( const INFCONTEXT *context, DWORD index, BYTE *b
DWORD value = 0;
for (p = field->text; *p && isxdigitW(*p); p++)
{
if ((value <<= 8) > 255)
if ((value <<= 4) > 255)
{
SetLastError( ERROR_INVALID_DATA );
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment