mirror of
https://github.com/reactos/wine.git
synced 2025-01-21 03:15:18 +00:00
Fixed crash due to a value of name length 0, value length 0 at the end
of the registry.
This commit is contained in:
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…
x
Reference in New Issue
Block a user