On Wed, Jun 12, 2024 at 04:14:21PM +0100, Mate Kukri wrote:
> Silently keeping entries in the list if the address matches, but the
> page count doesn't is a bad idea, and can lead to double frees.
>
> grub_efi_free_pages() have already freed parts of this block by this
> point, and thus keeping the whole block in the list and freeing it again
> at exit can lead to double frees.
>
> Signed-off-by: Mate Kukri <mate.ku...@canonical.com>

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

Daniel

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

Reply via email to