Skip to content

fix: correctly decode WSL2 Docker mounts#368

Merged
eminence merged 1 commit into
eminence:masterfrom
yuvald-sweet-security:fix-docker-mount
May 21, 2026
Merged

fix: correctly decode WSL2 Docker mounts#368
eminence merged 1 commit into
eminence:masterfrom
yuvald-sweet-security:fix-docker-mount

Conversation

@yuvald-sweet-security

Copy link
Copy Markdown
Contributor

Hello,
My WSL2 installation with Docker Desktop has the following mount line, which causes this crate to panic:
C:\134Program\040Files\134Docker\134Docker\134resources /Docker/host 9p rw,noatime,aname=drvfs;path=C:\Program Files\Docker\Docker\resources;symlinkroot=/mnt/,cache=5,access=client,msize=65536,trans=fd,rfd=3,wfd=3 0 0

(note that the spec field is correctly mangled, but the path mntop is not and has spaces, causing the split by space strategy to fail)

Is this fix good? Do you prefer to do something else?

@eminence

Copy link
Copy Markdown
Owner

LGTM, thank you!

@eminence eminence merged commit 448ce09 into eminence:master May 21, 2026
6 checks passed
@yuvald-sweet-security yuvald-sweet-security deleted the fix-docker-mount branch May 26, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants