libgocryptfs/internal/contentenc
Jakob Unterwurzacher 29445c976d contentenc: reserve one additional block in CReqPool
...to account for unaligned reads.

I have not seen this happen in the wild because the kernel
always seems to issue 4k-aligned requests. But the cost
of the additional block in the pool is low and prevents
a buffer overrun panic when an unaligned read does happen.
2017-10-19 09:23:10 +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 contentenc: reserve one additional block in CReqPool 2017-10-19 09:23:10 +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