Skip to content
Snippets Groups Projects
user avatar
Faiz Abbas authored
The blk_dread() following the mbr allocation reads one block from the
device. This will lead to overflow if block size is greater than the
size of legacy_mbr. Fix this by allocating at least one block size.

Signed-off-by: default avatarFaiz Abbas <faiz_abbas@ti.com>
Acked-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
7aed3d38
History
Name Last commit Last update