mirror of
https://github.com/vgough/encfs.git
synced 2025-01-05 13:39:12 +01:00
Merge pull request #195 from jetwhiz/fix-FileNode-setName
Bugfix: Segfault when running paranoid config in verbose mode
This commit is contained in:
commit
af0386d89b
@ -100,7 +100,9 @@ static bool setIV(const std::shared_ptr<FileIO> &io, uint64_t iv) {
|
||||
bool FileNode::setName(const char *plaintextName_, const char *cipherName_,
|
||||
uint64_t iv, bool setIVFirst) {
|
||||
// Lock _lock( mutex );
|
||||
VLOG(1) << "calling setIV on " << cipherName_;
|
||||
if (cipherName_)
|
||||
VLOG(1) << "calling setIV on " << cipherName_;
|
||||
|
||||
if (setIVFirst) {
|
||||
if (fsConfig->config->externalIVChaining && !setIV(io, iv)) return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user