From 22a510e9577e73d4f044a25adbdd89dd568f7fc4 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sat, 31 Jan 2015 15:04:53 +0100 Subject: [PATCH] Fix extfs uninitialized inode members. --- ext/inode.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/inode.cpp b/ext/inode.cpp index 93e864ad..98bed3c2 100644 --- a/ext/inode.cpp +++ b/ext/inode.cpp @@ -57,8 +57,11 @@ Inode::Inode(Filesystem* filesystem, uint32_t inode_id) this->next_hashed = NULL; this->prev_dirty = NULL; this->next_dirty = NULL; + this->data_block = NULL; + this->data = NULL; this->filesystem = filesystem; this->reference_count = 1; + this->remote_reference_count = 1; this->inode_id = inode_id; this->dirty = false; }