Chromium Code Reviews| Index: base/dir_reader_linux.h |
| diff --git a/base/dir_reader_linux.h b/base/dir_reader_linux.h |
| index 2b8333475f4e164848c99dd80a07545d781093f6..4187b4ecd35235dbad54285c17c3d2d20ce62c4e 100644 |
| --- a/base/dir_reader_linux.h |
| +++ b/base/dir_reader_linux.h |
| @@ -33,6 +33,7 @@ class DirReaderLinux { |
| : fd_(open(directory_path, O_RDONLY | O_DIRECTORY)), |
| offset_(0), |
| size_(0) { |
| + memset(buf_, 0, sizeof(buf_)); |
| } |
| ~DirReaderLinux() { |