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

Commit 29d20d5d authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder: warn on null binder read" am: dba92c2a am: 4c4e2aa6

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

Change-Id: I4b4df2552b2173b76bdf147707e9ae1135470ae6
parents f51ebc31 4c4e2aa6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1862,6 +1862,7 @@ status_t Parcel::readStrongBinder(sp<IBinder>* val) const
{
    status_t status = readNullableStrongBinder(val);
    if (status == OK && !val->get()) {
        ALOGW("Expecting binder but got null!");
        status = UNEXPECTED_NULL;
    }
    return status;