libgocryptfs/internal/ctlsock
Jakob Unterwurzacher 8c09df03aa ctlsock: fix buffer truncation of JSON unmarshal error
In the error case, buf was not restored to the original
capacity. Instead of truncating "buf" and restoring (or forgetting to restore)
later, introduce the "data" slice.

Fixes https://github.com/rfjakob/gocryptfs/issues/356
2019-01-20 12:13:49 +01:00
..
ctlsock_serve.go ctlsock: fix buffer truncation of JSON unmarshal error 2019-01-20 12:13:49 +01:00
sanitize.go ctlsock: sanitize: handle multiple leading slashes 2017-02-05 18:05:35 +01:00
sanitize_test.go ctlsock: sanitize: handle multiple leading slashes 2017-02-05 18:05:35 +01:00