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

Commit 6ed85d7c 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 am:...

Merge "libbinder: warn on null binder read" am: dba92c2a am: 4c4e2aa6 am: 29d20d5d am: 0391e3ca

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

Change-Id: Iaafe7d7811f20ed2f11daa827e805a03cf5835da
parents ca37d599 0391e3ca
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;