namespace ode {
-BlockDevice::BlockDevice(const std::string &path) : name("")
+BlockDevice::BlockDevice(const std::string &path) : name(""), blockSize(0)
{
int ret = 0;
runtime::File file(path);
} // namepsace
DMCryptEngine::DMCryptEngine(const std::string &src, const std::string &dest, const ProgressBar &prgsBar) :
- source(src), destination(dest), progress(prgsBar)
+ source(src), destination(dest), progress(prgsBar), mounted(false)
{
}
} // namespace
EcryptfsEngine::EcryptfsEngine(const std::string &src, const std::string &dest, const ProgressBar &prg) :
- source(src), destination(dest), progress(prg)
+ source(src), destination(dest), progress(prg), mounted(false)
{
}
} // namespace
Ext4Engine::Ext4Engine(const std::string& src, const std::string& dest, const ProgressBar &prgsBar) :
- source(src), destination(dest), progress(prgsBar)
+ source(src), destination(dest), progress(prgsBar), mounted(false)
{
}
} /* namespace */
MMCEraseEngine::MMCEraseEngine(const ProgressBar &prgsBar) :
- progressBar(prgsBar)
+ progressBar(prgsBar), totalFileCount(0), erasedFileCount(0)
{
}
char padding[256];
LUKSHeader() :
- magic{'L', 'U', 'K', 'S', 0xba, 0xbe}, version(1)
+ magic{'L', 'U', 'K', 'S', 0xba, 0xbe}, version(1), payloadOffset(0), keyBytes(0), mkDigestIteration(0)
{
for (auto &key : keyslot) {
unsigned char *buf = (unsigned char*)&key.active;