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

Commit ba75ae54 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

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

Change-Id: I53279c54cee8446f40fec97a782f5e5011ef03fc
parents aeb760ef ecc41184
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;
    }