You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/drive/driveimpl
Craig Hesling b9277ade1f
drive: fix index out of bounds when parsing request local paths (#15517)
Fix the index out of bound panic when a request is made to the local
fileserver mux with a valid secret-token, but missing share name.

Example error:

    http: panic serving 127.0.0.1:40974: runtime error: slice bounds out of range [2:1]

Additionally, we document the edge case behavior of utilities that
this fileserver mux depends on.

Signed-off-by: Craig Hesling <craig@hesling.com>
8 months ago
..
compositedav drive: rewrite LOCK paths 2 years ago
dirfs drive: fix minor typos in comments 8 months ago
shared drive: fix index out of bounds when parsing request local paths (#15517) 8 months ago
birthtiming.go tailscale: update tailfs file and package names (#11590) 2 years ago
birthtiming_test.go tailscale: update tailfs file and package names (#11590) 2 years ago
connlistener.go tailscale: update tailfs file and package names (#11590) 2 years ago
connlistener_test.go tailscale: update tailfs file and package names (#11590) 2 years ago
drive_test.go drive: fix index out of bounds when parsing request local paths (#15517) 8 months ago
fileserver.go drive: fix index out of bounds when parsing request local paths (#15517) 8 months ago
local_impl.go drive: actually cache results on statcache 2 years ago
remote_impl.go drive/driveimpl: use su instead of sudo 1 year ago