Check for errors when loading segments

This commit is contained in:
Martin Bickel 2016-12-28 18:19:17 +01:00 committed by Serge Lamikhov-Center
parent 878247108f
commit a0de1960d6

View File

@ -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;
}
//------------------------------------------------------------------------------