Browse Source

ftdump missing be32_to_cpu() on size cell.

main
Ed Swarthout 18 years ago committed by Jon Loeliger
parent
commit
001430072f
  1. 2
      ftdump.c

2
ftdump.c

@ -142,7 +142,7 @@ static void dump_blob(void *blob) @@ -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…
Cancel
Save