summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Oli Lan <olilan@google.com> 2022-08-19 17:08:13 +0100
committer Oli Lan <olilan@google.com> 2022-08-25 17:47:02 +0100
commit31a582490d6e8952d24f267df47d669e3861cf67 (patch)
treeae8814f2444fa4a1b1639d11c0567a311f9e9aa2 /libs/androidfw/ResourceTimer.cpp
parentf3806167a1c7a4cddcd3a30c132538a02b33fdad (diff)
Validate package name passed to setApplicationRestrictions.
This adds validation that the package name passed to setApplicationRestrictions is in the correct format. This will avoid an issue where a path could be entered resulting in a file being written to an unexpected place. Bug: 239701237 Test: atest ApplicationRestrictionsTest Change-Id: I1ab2b7228470f10ec26fe3a608ae540cfc9e9a96
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions