diff --git a/src/libply-splash-graphics/ply-console-viewer.c b/src/libply-splash-graphics/ply-console-viewer.c index 8e1ee628..dbcf3eca 100644 --- a/src/libply-splash-graphics/ply-console-viewer.c +++ b/src/libply-splash-graphics/ply-console-viewer.c @@ -341,6 +341,9 @@ ply_console_viewer_print (ply_console_viewer_t *console_viewer, char *buffer = NULL; int length; + if (format == NULL) + return; + va_start (arguments, format); length = vsnprintf (NULL, 0, format, arguments); if (length > 0)