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

Commit 4425ec0d authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Revert "Force-initialize potential padding area."

This reverts commit e33af7fe.

Reason for revert: b/236673494

Bug: 213170822
Bug: 236673494
Change-Id: I07c971f0f3dabf15301d62b15e3b44760151097f
parent e33af7fe
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -227,7 +227,6 @@ status_t CursorWindow::writeToParcel(Parcel* parcel) {
        if (!dest) goto fail;
        memcpy(static_cast<uint8_t*>(dest),
                static_cast<uint8_t*>(mData), mAllocOffset);
        memset(static_cast<uint8_t*>(dest) + mAllocOffset, 0, 4);
        memcpy(static_cast<uint8_t*>(dest) + compactedSize - slotsSize,
                static_cast<uint8_t*>(mData) + mSlotsOffset, slotsSize);
    }