DescriptionDisallow links from being seen by the extensions via the fileapi.
This change is more of a hack at the moment, ideally we need to refactor file_util (and maybe a bit of file_path) to provide better ways to handle symlinks.
This fix prevents exploits reading arbitary files either through handled extension calls or our component extension.
BUG=chromium-os:15826
TEST=Verified that links do not show up when reading a directory in the file browser UI. Tests that specifically check for this will follow in subsequent checkins.
Patch Set 1 #Patch Set 2 : Comment fix. #
Total comments: 1
Patch Set 3 : Made IsLink posix-wide. #Patch Set 4 : Change fileapi to use IsLink on all platforms. #
Total comments: 6
Patch Set 5 : Review comments incorporated. #
Total comments: 1
Patch Set 6 : Review comments incorporated. #
Messages
Total messages: 10 (0 generated)
|