Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
3eb7988a1663
· 6mo ago · 0 comments
Is there a solid reference resource on handling symlinks? It seems a never ending source of security bugs.
Comments
[–]
euroderf
6mo ago
The new os.Root is supposed to handle symlinks correctly in a sandbox, but (of course?) the first release had a bug related to symlinks.
[–]
d0vs
6mo ago
Agreed. Not a direct answer but this should be interesting:
https://github.com/cyphar/filepath-securejoin