Fix for: copySystemProfile can cause arbitrary file read and write

Bug: 216113220
Fixes: 216113220
Test: atest installd_dexopt_test
Change-Id: Iff44fb23c351ceacf4ce5d8a2394495e7afc84c8
2 files changed