[PATCH] gfxmenu/gui_image.c: Fix double free of bitmap

2023-12-13 Thread Alec Brown
In grub-core/gfxmenu/gui_image.c, coverity detected a double free in the function load_image(). The function checks if self->bitmap and self->raw_bitmap aren't NULL and then frees them. In the case self->bitmap and self->raw_bitmap are the same, only self->raw_bitmap is freed which would also free

Re: [PATCH v2 1/3] efi: Initialize canary to non-zero value

2023-12-13 Thread Daniel Kiper
On Mon, Dec 11, 2023 at 01:27:48PM -0600, Glenn Washburn wrote: > The canary, __stack_chk_guard, is in the BSS and so will get initialized to > zero if it is not explicitly initialized. If the UEFI firmware does not > support the RNG protocol, then the canary will not be randomized and will > be ze