summaryrefslogtreecommitdiff
path: root/internal/cryptocore/hkdf_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-10-17 21:47:32 +0200
committerJakob Unterwurzacher2017-10-17 21:48:29 +0200
commit3009ec9852316c3c696f77f476390ab5a6d8d6d7 (patch)
treee64b84f0cdda14b32fe986918aeae7f7be465a4d /internal/cryptocore/hkdf_test.go
parent64e5906ffa1f225a51048b3d0ac6b1a09e2ca170 (diff)
fusefrontend: clamp oversized reads
Our byte cache pools are sized acc. to MAX_KERNEL_WRITE, but the running kernel may have a higher limit set. Clamp to what we can handle. Fixes a panic on a Synology NAS reported at https://github.com/rfjakob/gocryptfs/issues/145
Diffstat (limited to 'internal/cryptocore/hkdf_test.go')
0 files changed, 0 insertions, 0 deletions