summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Hao Ke <haok@google.com> 2021-11-22 16:24:56 +0000
committer Hao Ke <haok@google.com> 2021-11-29 14:48:25 +0000
commitb67fc383553b2a3315ad09e0396a6d76d046fce7 (patch)
tree7c3583450b68a5e0db055f26c6762198c3d26ce8 /libs/androidfw/StringPool.cpp
parent92a4b54de58d76cc9c376e80e2956eff8e11e2e9 (diff)
Adding typed Parcel readParcelableList API.
Added typed Parcel readParcelableList API that takes extra clazz parameters check that the class written on the wire is the same, or a descendant from the one provided as the key and value arguments. Doing so could enhance the security of Parcel deserialization, as it would prevent unexpected types of objects being deserialized. More details can be found at go/safer-parcel. Test: atest -d android.os.cts.ParcelTest Bug: 195622897 Change-Id: Ibdb90fa622ef6eaa0bd2b9de629f51fc4fa7091a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions