Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
xmms
> xmms-output-auto-fix.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xmms-output-auto-fix.diff of Package xmms
Fixed the NULL pointer access at initialization. Signed-off-by: Takashi Iwai <tiwai@suse.de> ================================================================================ --- xmms/prefswin.c +++ xmms/prefswin.c @@ -1199,7 +1199,7 @@ void gen_module_description(gchar * file, gchar * desc, gchar ** full_desc) { - (*full_desc) = g_strdup_printf("%s [%s]", desc, g_basename(file)); + (*full_desc) = g_strdup_printf("%s [%s]", desc, file ? g_basename(file) : "----"); } void add_output_plugins(GtkOptionMenu *omenu)