Commit e15e5179 authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

Allocate space for terminating null.

parent 300f6840
...@@ -3726,7 +3726,7 @@ static LPWSTR resolve_keypath( MSIPACKAGE* package, INT ...@@ -3726,7 +3726,7 @@ static LPWSTR resolve_keypath( MSIPACKAGE* package, INT
deformat_string(package, key , &deformated); deformat_string(package, key , &deformated);
deformat_string(package, name, &deformated_name); deformat_string(package, name, &deformated_name);
len = strlenW(deformated) + 5; len = strlenW(deformated) + 6;
if (deformated_name) if (deformated_name)
len+=strlenW(deformated_name); len+=strlenW(deformated_name);
......
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