1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-11-26 17:41:08 +01:00

Fix issue about REG_MULTI_SZ.

This commit is contained in:
Green-m 2018-11-05 16:07:34 +08:00
parent ddf612f4c5
commit f779b809fa
No known key found for this signature in database
GPG Key ID: 7A4A0E684B5D6747

View File

@ -463,6 +463,7 @@ static void set_value(Remote *remote, Packet *packet, HKEY hkey)
switch (valueType) {
case REG_SZ:
case REG_EXPAND_SZ:
case REG_MULTI_SZ:
buf = utf8_to_wchar(valueData.buffer);
len = (wcslen(buf) + 1) * sizeof(wchar_t);
break;