bug#31111: Partition table wrongly identified as "atari"
Phillip Susi <[email protected]>
| Newsgroups | gmane.comp.gnu.parted.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 5/10/2018 2:52 PM, Phil Susi wrote: > Ok, after looking at the code it wasn't very hard to slap a few of the > right bytes into an empty file and trick atari_probe. I've fixed it > now. Will post the patch tomorrow. Thanks. Nevermind; it wasn't a logical error. As long as at least one partition has a plausible start and end value and 3 ASCII characters in the name field, it is a valid atari table. I think I'll just move the atari table to be probed last, after every other table has rejected it.
signature.asc
(application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJa9a7iAAoJENsuw7lhAP6EYycH/RcH1gsIqwMkQLEyZHwBViTJ s5jMLz4v7NxPrVTxKTxRLaJX4YHiCzI3Chen+UwUVp1rLNSHMKbgBVL4yaOdRjKD 1Tj3o2fyAoxU88lj26iQl/rKm3UJd/U7XwfzDg3WJBqxxzO/Y+9hJIQq0R2nx3yN jkQenvNToUbfAgsyqyVEZbPW2FoeTlDu/UAaA5HMZFD++dEc7esOlKZLZ0AqpVUS tI6RHEUAwe8hZWNVwEoDedb7sJE2BzChRxnrdFTWNIcQeA+pQD+fHpced4H3kmIo hsgEd4uDrMhlPGnhb8R4YoIFpu9VCYORvigmfiSJvgmtBC00fyXzZl8DL363slA= =TTTw -----END PGP SIGNATURE-----