commit | 5508e27284315aba90dffabcc9006848dbefc277 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Jan 07 14:15:59 2016 -0700 |
committer | Liisa Anttonen <liisa.anttonen@nedevicesw.com> | Thu Dec 01 13:47:07 2016 +0200 |
tree | 159e92bba45e191f997399c39a2aedf62f4b615a | |
parent | d511d5dbd3a4547ab65f7ba7a36dc50754b8cb38 [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