diff options
author | Jakob Unterwurzacher | 2015-11-15 14:15:21 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-15 14:15:21 +0100 |
commit | 296bdf3af21a8964dcb884ff41ea7556cc811e9a (patch) | |
tree | 0ce449c4c27b6eb52746aad4853b5c76661c9bfe /openssl_benchmark | |
parent | 09499be6e9bffe3bd24f017b15736125d72c450c (diff) |
CipherSizeToPlainSize: Handle illegal states
A file never gets a cipherSize <= HEADER_LEN in normal operation.
However, this can happen if header write it interrupted or the
underlying filesystem does not support fallocate.
Noticed while trying to store a CIPHERDIR in another gocryptfs mount
(gocryptfs does not support fallocate)
Diffstat (limited to 'openssl_benchmark')
0 files changed, 0 insertions, 0 deletions