commit | effa9fa50244295b3b8ba65a17b93939dbd7017b | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Mar 18 14:11:28 2019 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Mar 18 17:12:19 2019 -0700 |
tree | 03b44794a0ee0ca1d8a66ff581775e9073f88784 | |
parent | 51564e234bef6aac37a221f1a5dcbb409f2f6883 [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