commit | b3d817bdeda75399f6c3ffde92c1be00ef777c56 | [log] [tgz] |
---|---|---|
author | Khalid Ramadan <khalidramadan@google.com> | Thu Nov 18 07:02:50 2021 +0000 |
committer | Khalid Ramadan <khalidramadan@google.com> | Thu Nov 18 07:25:33 2021 +0000 |
tree | f1442921dffaba76dcf4af062b74e09263fe68bf | |
parent | f364c8d8f6d68d0d964ecc6916f20696e7df2d4e [diff] [blame] |
Remove word san-ity to follow respectful code Follow respectful code principles in link https://source.android.com/setup/contribute/respectful-code Test: No-tests change Bug: 206386553 Change-Id: I6f10a8550b5b815f8127c1a73523458fdc15d2fe
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index 8f4f0f0..7027a4b 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp
@@ -824,7 +824,7 @@ const size_t padded = pad_size(len); - // sanity check for integer overflow + // check for integer overflow if (mDataPos+padded < mDataPos) { return nullptr; }