commit | 9f6084652db58e41673b7c6567258794e0f9cb63 | [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 | aebdb5ad2c278ee5772de0d7ac2f09cccbd06470 | |
parent | 9e97113beb7cc5c8edef725b8a8301854be5f453 [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