diff options
| author | 2022-09-02 13:29:39 +0000 | |
|---|---|---|
| committer | 2023-02-02 21:50:56 +0000 | |
| commit | 74caed951ff202c9af05406677ddd16ed29b2ad8 (patch) | |
| tree | b3d540804a8a8619b94384aa23b64a6808c1cc4a /libs/androidfw/FileStream.cpp | |
| parent | 9295c136bff30f8898a8ebd63c28c821c5f9eb0a (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/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions