Skip to content
Snippets Groups Projects
Commit 3f0cbf46 authored by gofman1's avatar gofman1 Committed by Alexandre Julliard
Browse files

ntdll: Zero init reg_tzi in find_reg_tz_info().

parent 82eecc50
No related branches found
No related tags found
No related merge requests found
......@@ -797,6 +797,8 @@ static void find_reg_tz_info(RTL_DYNAMIC_TIME_ZONE_INFORMATION *tzi, const char*
continue; \
}
memset(&reg_tzi, 0, sizeof(reg_tzi));
if (!reg_query_value(hSubkey, mui_stdW, REG_SZ, reg_tzi.StandardName, sizeof(reg_tzi.StandardName)))
get_value(hSubkey, stdW, REG_SZ, reg_tzi.StandardName, sizeof(reg_tzi.StandardName));
if (!reg_query_value(hSubkey, mui_dltW, REG_SZ, reg_tzi.DaylightName, sizeof(reg_tzi.DaylightName)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment