mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-26 18:15:40 +00:00
Initialize local var
This commit is contained in:
parent
0c841c7ed4
commit
722077d4f7
@ -141,7 +141,7 @@ class elfio
|
||||
{
|
||||
clean();
|
||||
|
||||
unsigned char e_ident[EI_NIDENT];
|
||||
unsigned char e_ident[EI_NIDENT] = { 0 };
|
||||
// Read ELF file signature
|
||||
stream.seekg( addr_translator[0] );
|
||||
stream.read( reinterpret_cast<char*>( &e_ident ), sizeof( e_ident ) );
|
||||
|
Loading…
Reference in New Issue
Block a user