Fixed a potential crash (undefined variables)
This commit is contained in:
parent
576480d322
commit
40805047c4
@ -201,6 +201,8 @@ static int _elf_init(FormatPlugin * format, char const * arch)
|
|||||||
if((elf = object_new(sizeof(*elf))) == NULL)
|
if((elf = object_new(sizeof(*elf))) == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
format->priv = elf;
|
format->priv = elf;
|
||||||
|
elf->es32 = NULL;
|
||||||
|
elf->es64 = NULL;
|
||||||
if(arch == NULL)
|
if(arch == NULL)
|
||||||
{
|
{
|
||||||
elf->arch = NULL;
|
elf->arch = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user