diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_winreg_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c index 1a130f19b6..f733b14c63 100644 --- a/source3/rpc_server/srv_winreg_nt.c +++ b/source3/rpc_server/srv_winreg_nt.c @@ -190,7 +190,7 @@ static BOOL get_value_information( REGISTRY_KEY *key, uint32 *maxnum, } *maxnum = num_values; - *maxlen = lenmax; + *maxlen = lenmax*2; *maxsize = sizemax; TALLOC_FREE( values ); |