mount: fix crash in mountpoint validation (#21879)

This commit is contained in:
Michael Eischer
2026-06-14 13:55:26 +02:00
committed by GitHub
parent ce9b6ceea1
commit ae96b2a0f8
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
Bugfix: prevent crash in mountpoint validation if mountpoint is inaccessible
Since restic 0.19.0, the `mount` command validates a mountpoint before loading
the repository. If restic was unable to stat the mountpoint, this would result
in a crash. This has been fixed to correctly return an error instead.
https://github.com/restic/restic/pull/21879