mirror of
https://github.com/restic/restic.git
synced 2026-07-20 06:04:54 +00:00
In a damaged repository with a missing blob, the error message tried to dereference the subtreeID field of the current node, which is a file however. Said field is set to nil for a file thus causing a segfault when dereferenced. Fix this by using the actual parentTreeID.