Fix broken duration logic in MediaResourceGetter for non-video media.
Also closes a security hole: the filesystem checks did not properly canonicalize the path, with the result that paths such as "/mnt/sdcard/../../data/data/yourdata" would have been accepted. BUG=278117 NOPRESUBMIT=true Review URL: https://codereview.chromium.org/23684004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262766 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment