libgocryptfs/internal/contentenc
Jakob Unterwurzacher 3009ec9852 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
2017-10-17 21:48:29 +02:00
..
bpool.go contentenc: add safer "bPool" pool variant; add pBlockPool 2017-06-29 23:44:32 +02:00
content_test.go macos: make testing without openssl work properly 2017-07-14 23:22:15 +02:00
content.go fusefrontend: clamp oversized reads 2017-10-17 21:48:29 +02:00
file_header.go contenenc: reject all-zero file ID 2017-05-25 14:20:27 +02:00
intrablock.go lint fixes 2016-10-04 23:18:33 +02:00
offsets.go contentenc: downgrade "interrupted write?" warning to debug 2017-05-01 18:44:18 +02:00