diff --git a/src/checkpoint/serializers/unpacker.impl.h b/src/checkpoint/serializers/unpacker.impl.h index 73bab01e..23faaeb7 100644 --- a/src/checkpoint/serializers/unpacker.impl.h +++ b/src/checkpoint/serializers/unpacker.impl.h @@ -72,7 +72,8 @@ template template UnpackerBuffer::UnpackerBuffer(Args&&... args) : MemorySerializer(ModeType::Unpacking), - buffer_(std::make_unique(std::forward(args)...)) + buffer_(std::make_unique(std::forward(args)...)), + validate_memory_(true) { MemorySerializer::initializeBuffer(buffer_->getBuffer());