summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-04-18 14:55:15 -0700
committerFelipe Leme <felipeal@google.com>2016-04-18 14:55:15 -0700
commit8478bf468e30a7c682b31a303a493fcc54b6fb9a (patch)
tree7837ee096b3021661034eda16d0d6160117d7713 /tools/aapt2/diff/Diff.cpp
parent9d1d006cb3fb85304d1002b0d71c1b9fa11ad2f6 (diff)
Added extra validation for invalid paths.
In normal circumstances, StorageVolume can only be obtained through StorageManager and hence it will contain a valid path internally. But the path could be invalid in at least 2 occations: - App maliciously changed it using reflection. - Mounted volume was ejected. This change improves OpenExternalDirectoryActivity so it returns a RESULT_CANCELED upon receiveving an invalid path. BUG: 27962875 Change-Id: Ide43968babaa37961c7b704bd289f44eac952e94
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions