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

Skip to content
Commit 894d001c authored by Jiakai Zhang's avatar Jiakai Zhang
Browse files

Verify `loadingPackageName` on `notifyDexLoad`.

notifyDexLoad is a PM API callable from an app's process. The arguments
are provided by the app and shouldn't be blindly trusted. This change
verifies `loadingPackageName` against calling UID.

Bug: 253570365
Test: Disable AppZygote preloading, start Chrome, and see dex load
  report from both isolated process and non-isolated process being
  accepted (no "Invalid dex load report" warning).
Change-Id: I5d2390ed643f5202b3cdb088795d026dc8fa51df
parent eecb5c7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment