mirror of
https://github.com/restic/restic.git
synced 2026-11-21 13:02:42 +00:00
Co-authored-by: Michael Eischer <michael.eischer@fau.de> Signed-off-by: xh123637 <3324733895@qq.com>
10 lines
425 B
Plaintext
10 lines
425 B
Plaintext
Bugfix: Reject trees with duplicate or out-of-order node names during `restore`
|
|
|
|
A tree containing a symlink and a directory with the same name could let
|
|
`restic restore` write through the symlink to files outside the restore
|
|
target. Restic now rejects trees whose node names are not strictly
|
|
increasing during restore and reports an error instead of restoring such
|
|
a snapshot.
|
|
|
|
https://github.com/restic/restic/issues/22180
|