Description: Fix segfault
 Found by The Mayhem Team
Author: Michal Čihař <nijel@debian.org>

--- a/html.c
+++ b/html.c
@@ -798,6 +798,11 @@
 
     if (!rpm2html_dump_html) return;
 
+    if (rpm2html_dir == NULL) {
+        fprintf(stderr, "no output directory specified!\n");
+	return;
+    }
+
     createDirectory(rpm2html_dir);
     snprintf(path, sizeof(path), "%s/dir.png", rpm2html_dir);
     content = read_data_buffer_dir_png();
