grub/grub-core/gfxmenu
Alexey Makhalov 26a8c19307 gfxmenu: Fix double free in load_image()
self->bitmap should be zeroed after free. Otherwise, there is a chance
to double free (USE_AFTER_FREE) it later in rescale_image().

Fixes: CID 292472

Signed-off-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-07-29 16:55:48 +02:00
..
font.c gfxmenu: fix memory leak 2016-01-09 13:55:28 +03:00
gfxmenu.c gfxmenu: fix memory leak 2016-01-12 21:52:50 +03:00
gui_box.c * grub-core/gfxmenu/gui_box.c: Updated to work with area status. 2013-11-08 15:42:38 +04:00
gui_canvas.c * grub-core/gfxmenu/gui_box.c: Updated to work with area status. 2013-11-08 15:42:38 +04:00
gui_circular_progress.c misc: Make grub_strtol() "end" pointers have safer const qualifiers 2020-02-28 12:41:29 +01:00
gui_image.c gfxmenu: Fix double free in load_image() 2020-07-29 16:55:48 +02:00
gui_label.c Enable -Wformat=2 if it's supported. 2013-12-21 15:28:28 +01:00
gui_list.c Remove potential division by 0 in gfxmenu. 2015-01-21 17:42:15 +01:00
gui_progress_bar.c Remove potential division by 0 in gfxmenu. 2015-01-21 17:42:15 +01:00
gui_string_util.c calloc: Use calloc() at most places 2020-07-29 16:55:47 +02:00
gui_util.c automake commit without merge history 2010-05-06 11:34:04 +05:30
icon_manager.c gfxmenu/icon_manager: Fix null pointer dereference. 2015-01-26 09:37:01 +01:00
theme_loader.c misc: Make grub_strtol() "end" pointers have safer const qualifiers 2020-02-28 12:41:29 +01:00
view.c * grub-core/gfxmenu/gui_box.c: Updated to work with area status. 2013-11-08 15:42:38 +04:00
widget-box.c calloc: Use calloc() at most places 2020-07-29 16:55:47 +02:00