commit | ab52bcdb3475c3c242a89fe3a0d2323e31a6cced | [log] [tgz] |
---|---|---|
author | Victor Chang <vichang@google.com> | Tue Feb 14 12:04:16 2023 +0000 |
committer | Victor Chang <vichang@google.com> | Tue Mar 14 15:42:27 2023 +0000 |
tree | 965b351ee04003a046a394a47c977857d972fdf8 | |
parent | 9d24e7a46ec40053a84499448461edde9797adcb [diff] |
Fix bugs in File.getCanonicalPath() when 1. the path is too long to have 4096 characters. 2. has consecutive path separators e.g. "//" in the path Bug: 266432364 Bug: 267617531 Test: atest CtsLibcoreTestCases:libcore.java.io.FileTest Ignore-AOSP-First: security related bug Merged-In: I6b5473687d11d7e66e087bb741873251d99fb4ed Change-Id: I6b5473687d11d7e66e087bb741873251d99fb4ed (cherry picked from commit 8178b79712a875da1a0f2a8340fbf3bd5417c203)