commit | dc9ecad5c2d97213789b3fb25f5e8606d8319c98 | [log] [tgz] |
---|---|---|
author | Abhijeet Kaur <abkaur@google.com> | Wed Nov 23 08:47:27 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Feb 09 00:25:14 2023 +0000 |
tree | 93be0e747099695aed40178908e29d7e64f9f2f1 | |
parent | 269bb90f693ac51ec91f620bacdb81ccd177aefd [diff] |
Canonicalise path before extracting relative path This helps us make accurate access checks on the given path. Bug: 228833816 Bug: 228450832 Test: atest FileUtilsTest Test: atest LegacyStorageHostTest Change-Id: Id620644ffdfe20e9281773e2e23851c56732dd11 Merged-In: Id620644ffdfe20e9281773e2e23851c56732dd11 (cherry picked from commit 93f5186e4b4a044e00a168c55e05fd3835033221) (cherry picked from commit 1426f04cd2b4940f9308432d37cc4ef79a7d8340) Merged-In: Id620644ffdfe20e9281773e2e23851c56732dd11