File libgnomeprint-pdf-invalid-path-176712.patch of Package libgnomeprint
? libgnomeprint-pdf-invalid-path-176712.patch
Index: libgnomeprint/gnome-print-job.c
===================================================================
--- libgnomeprint/gnome-print-job.c.orig
+++ libgnomeprint/gnome-print-job.c
@@ -657,6 +657,11 @@ gnome_print_job_print (GnomePrintJob *jo
/* Create the "real" context and set it up. */
ctx = gnome_print_context_new (job->config);
+
+ /* Oh honestly */
+ if (ctx == NULL)
+ return GNOME_PRINT_ERROR_UNKNOWN;
+
gnome_print_job_setup_context (job, ctx);
g_object_get (G_OBJECT (ctx), "filter", &filter, NULL);