Loading services/backup/java/com/android/server/backup/BackupManagerService.java +8 −0 Original line number Diff line number Diff line Loading @@ -3595,6 +3595,14 @@ public class BackupManagerService extends IBackupManager.Stub { break; } // The path needs to be canonical if (info.path.contains("..") || info.path.contains("//")) { if (MORE_DEBUG) { Slog.w(TAG, "Dropping invalid path " + info.path); } okay = false; } // If the policy is satisfied, go ahead and set up to pipe the // data to the agent. if (DEBUG && okay && mAgent != null) { Loading Loading
services/backup/java/com/android/server/backup/BackupManagerService.java +8 −0 Original line number Diff line number Diff line Loading @@ -3595,6 +3595,14 @@ public class BackupManagerService extends IBackupManager.Stub { break; } // The path needs to be canonical if (info.path.contains("..") || info.path.contains("//")) { if (MORE_DEBUG) { Slog.w(TAG, "Dropping invalid path " + info.path); } okay = false; } // If the policy is satisfied, go ahead and set up to pipe the // data to the agent. if (DEBUG && okay && mAgent != null) { Loading