Hello John,

In https://bugs.debian.org/1079619, someone found that building cpmtools
against libdsk stops it being able to read their TIM-011 disc image.

I think this is due to libdsk's dg_opusgeom() mis-detecting the TIM-011
boot sector as an Opus Discovery one, and thus initialising the geometry
with garbage.
(Lots more information in the bug, which I have CC'd on this mail.)

I think dg_opusgeom() needs to become more discriminating, but I don't
know enough about the Opus Discovery to suggest how.
(Arguably there should also be more defenses elsewhere; I might submit a
patch to cpmtools to be more defensive here.)

Reply via email to