A dump starts with two inode bitmaps: the inodes in use on the file
system (TS_CLRI) and the inodes included in the dump (TS_BITS).
setup() allocates both from the size given in the TS_CLRI header,
but fills the second one with as many blocks as the TS_BITS header
announces. A dump whose TS_BITS header announced more blocks than
the TS_CLRI one overflowed the heap with data taken from the dump.
This affects both restore reading a local file and rrestore reading
from a remote tape host.
dump writes both bitmaps with the same size, so refuse the dump when
the second one would not fit.
PR: 300546
Sponsored by: Defenso
Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>