commit | 8ec005728d47e282d72801b4bb43c9a3ea8f717f | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Jan 07 14:15:59 2016 -0700 |
committer | The Android Automerger <android-build@google.com> | Tue Mar 01 15:26:56 2016 -0800 |
tree | fe205687fc9d7a776d1f55b3d3e8ee823f1c0952 | |
parent | 616188b0a0c96e88926e84cfe156908f0da9ebe2 [diff] |
Use resolved path for both checking and opening. This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb