Merge "[automerger] Fix security hole in GateKeeperResponse. am: e74cae8f7c am: b1141b6ff0 am: 1cd9e8096f am: 6dfc8d8d4d am: a3c1de7e49 am: 4acf4fabf4 am: 40317127f4 am: 159cd14334 am: 24587d57cf am: 0fa9328b80 am: 51ca967453" into oc-dr1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
5ee440bbcc
@@ -106,6 +106,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