diff options
author | Jakob Unterwurzacher | 2017-10-17 21:47:32 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-10-17 21:48:29 +0200 |
commit | 3009ec9852316c3c696f77f476390ab5a6d8d6d7 (patch) | |
tree | e64b84f0cdda14b32fe986918aeae7f7be465a4d /internal/openfiletable/open_file_table.go | |
parent | 64e5906ffa1f225a51048b3d0ac6b1a09e2ca170 (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/openfiletable/open_file_table.go')
0 files changed, 0 insertions, 0 deletions