Index: base/file_util_win.cc |
diff --git a/base/file_util_win.cc b/base/file_util_win.cc |
index a6720a576224f6d1d5573cefab5d97665a4dcefb..31d2f05d8dca7d06e29d1604472e5ed8507c1748 100644 |
--- a/base/file_util_win.cc |
+++ b/base/file_util_win.cc |
@@ -831,6 +831,7 @@ FileEnumerator::FileEnumerator(const FilePath& root_path, |
find_handle_(INVALID_HANDLE_VALUE) { |
// INCLUDE_DOT_DOT must not be specified if recursive. |
DCHECK(!(recursive && (INCLUDE_DOT_DOT & file_type_))); |
+ memset(&find_data_, 0, sizeof(find_data_)); |
pending_paths_.push(root_path); |
} |
@@ -845,6 +846,7 @@ FileEnumerator::FileEnumerator(const FilePath& root_path, |
find_handle_(INVALID_HANDLE_VALUE) { |
// INCLUDE_DOT_DOT must not be specified if recursive. |
DCHECK(!(recursive && (INCLUDE_DOT_DOT & file_type_))); |
+ memset(&find_data_, 0, sizeof(find_data_)); |
pending_paths_.push(root_path); |
} |