mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-28 06:15:21 +00:00
Check for errors when loading segments
This commit is contained in:
parent
878247108f
commit
a0de1960d6
@ -142,9 +142,8 @@ class elfio
|
||||
}
|
||||
|
||||
load_sections( stream );
|
||||
load_segments( stream );
|
||||
|
||||
return true;
|
||||
bool is_still_good = load_segments( stream );
|
||||
return is_still_good;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user