Allocate space for terminating null.

This commit is contained in:
Ulrich Czekalla 2005-03-08 16:44:51 +00:00 committed by Alexandre Julliard
parent 300f684053
commit e15e5179c2
1 changed files with 1 additions and 1 deletions
dlls/msi

View File

@ -3726,7 +3726,7 @@ static LPWSTR resolve_keypath( MSIPACKAGE* package, INT
deformat_string(package, key , &deformated);
deformat_string(package, name, &deformated_name);
len = strlenW(deformated) + 5;
len = strlenW(deformated) + 6;
if (deformated_name)
len+=strlenW(deformated_name);