[syslinux] Question about set_background

H. Peter Anvin hpa at zytor.com
Mon Jul 21 15:57:00 PDT 2008


Loïc Grenié wrote:
>      I've traced the code of set_background quite a bit this w.e. and
>   was wondering what would happen in the __unlikely case where
>   there is no background for the main menu and one for a submenu.
>   It looks to me that when the submenu is closed, set_background
>   will be called with new_background == NULL, that
>   current_background != NULL inside so that there will be a
>   strcmp(current_background, NULL) inside the function.
> 

Ouch.  Thanks for the warning.

	-hpa




More information about the Syslinux mailing list