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

Commit 29e02c8a authored by Steven Moreland's avatar Steven Moreland
Browse files

Parcel: not recycled harder errors

Treat UAF errors more harshly.

Bug: 381155347
Test: boot
Change-Id: I699433cdcbae85c271d88fb1161514585d86571a
parent 080d7867
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -648,7 +648,7 @@ public final class Parcel {
                + Log.getStackTraceString(new Throwable())
                + " Original recycle call (if DEBUG_RECYCLE): ", mStack;
        Log.wtf(TAG, error);
        // TODO(b/381155347): harder error
        throw new BadParcelableException(error);
    }

    // TODO: call in more places, it costs a _lot_ to use this in many