diff options
author | Josh Gao <jmgao@google.com> | 2019-03-18 14:11:28 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-03-18 17:12:19 -0700 |
commit | b019574476a65de0503a856be463a5c4c9c74609 (patch) | |
tree | 03b44794a0ee0ca1d8a66ff581775e9073f88784 /trusty/coverage/coverage.cpp | |
parent | eecd5cc53255a2986b094ecca2fe26976dfce768 (diff) |
adb: fix uninitialized variable.
Previously, we were initializing IoBlock::pending when submitting a read,
but leaving it uninitialized when doing a write, which would sometimes
result in an assertion firing when we received a previously allocated
block of memory that happened to have a nonzero value in pending.
Test: treehugger
Change-Id: I434c65f554ceed313fea9cfcc98788908f3ca8bc
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions