On Sun, Aug 07, 2022 at 12:18:52AM -0500, Glenn Washburn wrote:
> Update the read hook to take into account encrypted volumes on a partition.
> Grub disk read hooks supply an absolute sector number at which the read is
> started from. If the encrypted volume is in a partition, the sector number
> given to the read hook will be offset by the number of the sector at the
> start of the partition. The read hook then needs to subtract the partition
> start from the supplied sector to get the correct start sector for the read
> into the detached header file.
>
> Signed-off-by: Glenn Washburn <developm...@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

brutser, may I add on your behalf:
  Reported-by: brutser <brut...@perso.be>
  Tested-by: brutser <brut...@perso.be>

Glenn, thank you for fixing this issue!

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to