diff options
author | dbeam <dbeam@chromium.org> | 2015-03-19 15:02:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-19 22:02:59 +0000 |
commit | 8349cde788d93f75c7e82d88c6bc44a43bc19cf5 (patch) | |
tree | 5c5f5f7bed54ee93050d1b0ebd681bb5bedc31a4 /base | |
parent | 7837b67d60093d505c84c7b1f5a8e22be7526de2 (diff) | |
download | chromium_src-8349cde788d93f75c7e82d88c6bc44a43bc19cf5.zip chromium_src-8349cde788d93f75c7e82d88c6bc44a43bc19cf5.tar.gz chromium_src-8349cde788d93f75c7e82d88c6bc44a43bc19cf5.tar.bz2 |
Fix uninitialized read in base::SysInfo::HasSeekPenalty().
R=rvargas@chromium.org
BUG=468631
Review URL: https://codereview.chromium.org/1022863002
Cr-Commit-Position: refs/heads/master@{#321445}
Diffstat (limited to 'base')
-rw-r--r-- | base/sys_info_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/sys_info_win.cc b/base/sys_info_win.cc index 7c12524..817992c 100644 --- a/base/sys_info_win.cc +++ b/base/sys_info_win.cc @@ -82,7 +82,7 @@ bool SysInfo::HasSeekPenalty(const FilePath& path, bool* has_seek_penalty) { if (!drive.IsValid()) return false; - STORAGE_PROPERTY_QUERY query; + STORAGE_PROPERTY_QUERY query = {}; query.QueryType = PropertyStandardQuery; query.PropertyId = StorageDeviceSeekPenaltyProperty; |