forked from Mirrors/wine-wine
Fixed crash due to a value of name length 0, value length 0 at the end
of the registry.oldstable
parent
71bdc7c851
commit
6f0056d0bd
|
@ -1501,7 +1501,7 @@ static LPKEYSTRUCT _w95_processKey ( LPKEYSTRUCT lpkey,
|
|||
curdata += 0x20;
|
||||
|
||||
#define XREAD(whereto,len) \
|
||||
if ((curdata + len) <end) {\
|
||||
if ((curdata + len) <= end) {\
|
||||
memcpy(whereto,curdata,len);\
|
||||
curdata+=len;\
|
||||
bytesread+=len;\
|
||||
|
|
Loading…
Reference in New Issue