bug-fdisk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug regarding gpt custom length


From: Tiago Augusto Pimenta
Subject: Bug regarding gpt custom length
Date: Sun, 25 Jul 2021 10:42:29 -0300

Hi,

Given a 512 bytes sector device, since each GPT entry has 128 bytes it results in 4 entries per sector, you can reproduce the following bug:

If you change the gpt length (commands "x l ? r", where "?" is a number) for lengths from 1 to 3 it allows you to start a partition on 2 where it should start on 3, for lengths from 5 to 7 it let you start on 3 where it should be 4, and so on, only for length that are multiple of 4 that it is correct, if you proceed creating a table with length other than multiple of 4 it would lead you to corrupt that table when you format the partitions that are near the beginning or the ending of the storage.

Could someone look for this bug please?

Best regards,
Tiago A. Pimenta

reply via email to

[Prev in Thread] Current Thread [Next in Thread]