# HG changeset patch # User Jeandet Alexis # Date 2014-06-18 20:33:23 # Node ID 76535b5137d73f47f7eb79386dbdea3523817bc8 # Parent 7ee2d5f15b0f98ef269635184db0acf7204ea931 Fixed segfault. diff --git a/elf/elffile.cpp b/elf/elffile.cpp --- a/elf/elffile.cpp +++ b/elf/elffile.cpp @@ -33,6 +33,7 @@ ElfFile::ElfFile() this->type_elf = false; this->elfFile = (int)NULL; this->e = NULL; + this->data = NULL; } ElfFile::ElfFile(const QString &File) @@ -43,6 +44,7 @@ ElfFile::ElfFile(const QString &File) this->elfFile = (int)NULL; this->e = NULL; this->p_fileName = File; + this->data = NULL; openFile(File); }