Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid string out of bounds error in snapshot delete
Test failure #8771 shows cases where certain random seeds trigger this case. The bug is clear: the substring() call should happen after the startsWith() check in case the blob name is shorter than the prefix length being used as the start index of the substring call. I don't yet know if/how this manifests in real deployments. Signed-off-by: Andrew Ross <[email protected]>
- Loading branch information