ftdump missing be32_to_cpu() on size cell.
This commit is contained in:
parent
cd1da87116
commit
001430072f
1 changed files with 1 additions and 1 deletions
2
ftdump.c
2
ftdump.c
|
@ -142,7 +142,7 @@ static void dump_blob(void *blob)
|
|||
fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag);
|
||||
break;
|
||||
}
|
||||
sz = GET_CELL(p);
|
||||
sz = be32_to_cpu(GET_CELL(p));
|
||||
s = p_strings + be32_to_cpu(GET_CELL(p));
|
||||
if (version < 16 && sz >= 8)
|
||||
p = PALIGN(p, 8);
|
||||
|
|
Loading…
Reference in a new issue