diff options
| author | 2022-09-02 13:29:39 +0000 | |
|---|---|---|
| committer | 2022-10-08 00:10:01 +0000 | |
| commit | 9acc4b7bad79a307fdf4183cf50a236d5e7f1759 (patch) | |
| tree | 1f674630ff3a7934ec4a429862e66ddc8f44c174 /libs/androidfw/AttributeResolution.cpp | |
| parent | 84b3fc11fe7565b50437c0a5342425369f1e67b6 (diff) | |
Validate package name passed to setApplicationRestrictions. (Reland)
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
Merged-In: I1ab2b7228470f10ec26fe3a608ae540cfc9e9a96
Change-Id: I56c2fc14f906cdad80181ab577e2ebc276c151c1
(cherry picked from commit 1b9b59c63bffc675a042cba6cd666831abef2c3e)
Merged-In: I56c2fc14f906cdad80181ab577e2ebc276c151c1
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions