Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5463ab6 authored by Kenny Root's avatar Kenny Root Committed by Android (Google) Code Review
Browse files

Merge "Make sure binder ioctl structs don't contain uninitialized values."

parents b63572f9 594f3eec
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -851,6 +851,9 @@ status_t IPCThreadState::writeTransactionData(int32_t cmd, uint32_t binderFlags,
    tr.target.handle = handle;
    tr.code = code;
    tr.flags = binderFlags;
    tr.cookie = 0;
    tr.sender_pid = 0;
    tr.sender_euid = 0;
    
    const status_t err = data.errorCheck();
    if (err == NO_ERROR) {