mirror of
https://git.proxmox.com/git/grub2
synced 2025-10-30 16:07:54 +00:00
The gui_progress_bar and gui_label components can display the timeout
value. The format string can be set through a theme file. This patch
adds a validation step to the format string.
If a user loads a theme file into the GRUB without this patch then
a GUI label with the following settings
+ label {
...
id = "__timeout__"
text = "%s"
}
will interpret the current timeout value as string pointer and print the
memory at that position on the screen. It is not desired behavior.
Signed-off-by: Thomas Frauendorfer | Miray Software <tf@miray.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
|
||
|---|---|---|
| .. | ||
| font.c | ||
| gfxmenu.c | ||
| gui_box.c | ||
| gui_canvas.c | ||
| gui_circular_progress.c | ||
| gui_image.c | ||
| gui_label.c | ||
| gui_list.c | ||
| gui_progress_bar.c | ||
| gui_string_util.c | ||
| gui_util.c | ||
| icon_manager.c | ||
| theme_loader.c | ||
| view.c | ||
| widget-box.c | ||