File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3697,15 +3697,15 @@ void info_guts(memory_access &raw_access, void *con) {
3697
3697
bin = raw_access.read_vector <uint8_t >(raw_access.get_binary_start (), read_size, true );
3698
3698
std::unique_ptr<block> first_block = find_first_block (bin, raw_access.get_binary_start ());
3699
3699
if (first_block) {
3700
- // verify stuff
3701
- auto all_blocks = get_all_blocks (bin, raw_access.get_binary_start (), first_block, more_cb);
3702
-
3703
3700
int block_i = 0 ;
3704
3701
select_group (metadata_info[block_i++], true );
3705
3702
info_metadata (first_block.get (), true );
3706
- for (auto &block : all_blocks) {
3707
- select_group (metadata_info[block_i++], true );
3708
- info_metadata (block.get (), true );
3703
+ if (first_block->next_block_rel != 0 ) { // if there is more than one block
3704
+ auto all_blocks = get_all_blocks (bin, raw_access.get_binary_start (), first_block, more_cb);
3705
+ for (auto &block : all_blocks) {
3706
+ select_group (metadata_info[block_i++], true );
3707
+ info_metadata (block.get (), true );
3708
+ }
3709
3709
}
3710
3710
} else {
3711
3711
// This displays that there are no metadata blocks
You can’t perform that action at this time.
0 commit comments