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

Commit ede9a0fe authored by Khalid Ramadan's avatar Khalid Ramadan Committed by Automerger Merge Worker
Browse files

Merge "Remove word san-ity to follow respectful code" am: ecc41184 am: ba75ae54

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1895125

Change-Id: I4d1621a8681c741baf32e8108a6f7ce6945beb68
parents 1712de5c ba75ae54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -824,7 +824,7 @@ void* Parcel::writeInplace(size_t len)

    const size_t padded = pad_size(len);

    // sanity check for integer overflow
    // check for integer overflow
    if (mDataPos+padded < mDataPos) {
        return nullptr;
    }