[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0
Change-Id: Ia0d267bb2013d7ddfe26dddfa35f3f396cca7f20
This commit is contained in:
@@ -85,6 +85,8 @@ public final class GateKeeperResponse implements Parcelable {
|
|||||||
if (mPayload != null) {
|
if (mPayload != null) {
|
||||||
dest.writeInt(mPayload.length);
|
dest.writeInt(mPayload.length);
|
||||||
dest.writeByteArray(mPayload);
|
dest.writeByteArray(mPayload);
|
||||||
|
} else {
|
||||||
|
dest.writeInt(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user