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

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: Neater 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..deea95e62d623a636d0a0a15326c346339e52a96 100644
--- a/net/dns/dns_config_service_win.cc
+++ b/net/dns/dns_config_service_win.cc
@@ -437,14 +437,14 @@ void ConfigureSuffixSearch(const DnsSystemSettings& settings,
} // namespace
DnsSystemSettings::DnsSystemSettings()
- : policy_search_list(),
- tcpip_search_list(),
- tcpip_domain(),
- primary_dns_suffix(),
- policy_devolution(),
- dnscache_devolution(),
- tcpip_devolution(),
- append_to_multi_label_name(),
+ : policy_search_list({}),
+ tcpip_search_list({}),
+ tcpip_domain({}),
+ primary_dns_suffix({}),
+ policy_devolution({}),
+ dnscache_devolution({}),
+ tcpip_devolution({}),
+ append_to_multi_label_name({}),
Nico 2015/05/12 00:32:16 Hm, isn't this uniform initialization too? Nicos-M
have_name_resolution_policy(false) {
}
« 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