[parted-devel] Atari label false positives

Phil Susi psusi at ubuntu.com
Fri May 11 15:18:53 BST 2018


It seems that the atari label likes to falsely recognize dos labels as
atari.  Looking at atari_probe, it doesn't seem like this is very hard
to do.  All that it needs is one word for the size of the disk to be
less than the physical size of the disk, two bsl words to be zero or
less than the disk size, the partition start and length words to fit
within the disk, and 3 bytes to appear to be ascii characters.  Is there
any way that this can be beefed up at all?

For instance, the name field.. is it really free form ascii or is there
a specific set of strings that could be limited to?  Also this XGM and
ICD parts; are they completely optional, so we can't require one of
those be detected too?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/parted-devel/attachments/20180511/938feaac/attachment.sig>


More information about the parted-devel mailing list