tailscale/drive/driveimpl/shared
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>
2025-04-09 14:12:23 -07:00
..
pathutil_test.go drive: fix index out of bounds when parsing request local paths (#15517) 2025-04-09 14:12:23 -07:00
pathutil.go drive: fix index out of bounds when parsing request local paths (#15517) 2025-04-09 14:12:23 -07:00
readonlydir.go tailscale: update tailfs functions and vars to use drive naming (#11597) 2024-04-03 10:09:58 -07:00
stat.go tailscale: update tailfs file and package names (#11590) 2024-04-02 13:32:30 -07:00
xml.go drive: rewrite LOCK paths 2024-05-16 13:42:45 -05:00