Update key_merge.c

This commit is contained in:
DavidXanatos 2022-11-06 15:55:59 +01:00
parent e3494d3728
commit 6177d84361
1 changed files with 2 additions and 0 deletions

View File

@ -780,6 +780,8 @@ _FX NTSTATUS Key_MergeCacheDummys(KEY_MERGE *merge, const WCHAR *TruePath)
if (NT_SUCCESS(status)) { if (NT_SUCCESS(status)) {
File_NtCloseImpl(KeyHandle);
name_len *= sizeof(WCHAR); name_len *= sizeof(WCHAR);
len = sizeof(KEY_MERGE_SUBKEY) + name_len + sizeof(WCHAR); len = sizeof(KEY_MERGE_SUBKEY) + name_len + sizeof(WCHAR);