diff options
author | Nick Sanders <nsanders@chromium.org> | 2017-01-31 14:11:21 -0800 |
---|---|---|
committer | Nick Sanders <nsanders@chromium.org> | 2017-01-31 14:11:21 -0800 |
commit | 1d848e96ae0894bec29e6c5a503006c42c5719a0 (patch) | |
tree | 32d996d5f85e65da0085435020d40a30b151d3bd | |
parent | 880fb47e66e138b49f059fa6f5739a2bef8a84a3 (diff) | |
download | stressapptest-1d848e96ae0894bec29e6c5a503006c42c5719a0.tar.gz |
Fix uninitialized variable
channels_ could be used uninitialized, and is not guaranteed to default
to zero.
crbug.com/686830
-rw-r--r-- | src/os.cc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -63,6 +63,7 @@ OsLayer::OsLayer() { dynamic_mapped_shmem_ = false; mmapped_allocation_ = false; shmid_ = 0; + channels_ = NULL; time_initialized_ = 0; |