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

Commit f5a311a0 authored by Ayush Sharma's avatar Ayush Sharma Committed by Automerger Merge Worker
Browse files

Merge "Fix security hole in GateKeeperResponse" into tm-dev am: f811f765

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17221284

Change-Id: I3f7d1fdb7a3c23470b29f49ac89260a48b948af8
parents 6f0b217d f811f765
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ public final class GateKeeperResponse implements Parcelable {
            dest.writeInt(mTimeout);
        } else if (mResponseCode == RESPONSE_OK) {
            dest.writeInt(mShouldReEnroll ? 1 : 0);
            if (mPayload != null) {
            if (mPayload != null && mPayload.length > 0) {
                dest.writeInt(mPayload.length);
                dest.writeByteArray(mPayload);
            } else {