Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Unified Diff: net/dns/dns_config_service_win.cc

Issue 1132333003: Fix uninitialized reads in DnsConfigServiceWin tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set 'set' explicitly Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_config_service_win.cc
diff --git a/net/dns/dns_config_service_win.cc b/net/dns/dns_config_service_win.cc
index aa17a32848a4540ceb1dbba8b0f525485feed7b5..db7af982aa54dcf35a40ac4b52bacbe4b5e4441f 100644
--- a/net/dns/dns_config_service_win.cc
+++ b/net/dns/dns_config_service_win.cc
@@ -446,6 +446,19 @@ DnsSystemSettings::DnsSystemSettings()
tcpip_devolution(),
append_to_multi_label_name(),
have_name_resolution_policy(false) {
+ policy_search_list.set = false;
+ tcpip_search_list.set = false;
+ tcpip_domain.set = false;
+ primary_dns_suffix.set = false;
+
+ policy_devolution.enabled.set = false;
+ policy_devolution.level.set = false;
+ dnscache_devolution.enabled.set = false;
+ dnscache_devolution.level.set = false;
+ tcpip_devolution.enabled.set = false;
+ tcpip_devolution.level.set = false;
+
+ append_to_multi_label_name.set = false;
}
DnsSystemSettings::~DnsSystemSettings() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698