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

Commit 7c5d7863 authored by Pengquan Meng's avatar Pengquan Meng Committed by android-build-team Robot
Browse files

Fixed Security Vulnerability of DcParamObject

The writeToParcel and readFromParcel is not symmetry, fixed it.

Test: no test
Bug: 70721937
Change-Id: I01f6f6b2ab778ee8b638d9b69fe0a6b9aa7ee395
(cherry picked from commit 8c55a707)
parent b0b67d21
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ public class DcParamObject implements Parcelable {
    }

    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(mSubId);
        dest.writeInt(mSubId);
    }

    private void readFromParcel(Parcel in) {