libgocryptfs/internal/ctlsock
Jakob Unterwurzacher 12374be9c5 ctlsock: abort the connection if the request is too big
Reading partial JSON would cause a mess. Just kill the connection.

Also, stop using syscall.PathMax that is not defined on Darwin
( https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-264253024 )
2016-12-10 20:43:08 +01:00
..
ctlsock_serve.go ctlsock: abort the connection if the request is too big 2016-12-10 20:43:08 +01:00
sanitize_test.go ctlsock: sanitize paths before passing them to the backend 2016-12-10 12:59:54 +01:00
sanitize.go ctlsock: sanitize paths before passing them to the backend 2016-12-10 12:59:54 +01:00