Initialize all fields of struct iocb.
Kernel does not accept non-zero value of iocb->aio_reserved2. Bug: 132803232 Test: initialize malloc() memory to non-zero pattern and see what breaks Change-Id: I65a7e89e3a2c1ba79df1dc2d011d6c76c41afb81
This commit is contained in:
parent
9c7a39ed2d
commit
fe7eca7b8f
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ struct TransferId {
|
|||
|
||||
struct IoBlock {
|
||||
bool pending = false;
|
||||
struct iocb control;
|
||||
struct iocb control = {};
|
||||
std::shared_ptr<Block> payload;
|
||||
|
||||
TransferId id() const { return TransferId::from_value(control.aio_data); }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue