diff options
Diffstat (limited to 'main/gdk-pixbuf/CVE-2017-6311.patch')
-rw-r--r-- | main/gdk-pixbuf/CVE-2017-6311.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/main/gdk-pixbuf/CVE-2017-6311.patch b/main/gdk-pixbuf/CVE-2017-6311.patch deleted file mode 100644 index d3d65789ee..0000000000 --- a/main/gdk-pixbuf/CVE-2017-6311.patch +++ /dev/null @@ -1,23 +0,0 @@ -@@ -, +, @@ - returned - thumbnailer/gnome-thumbnailer-skeleton.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) ---- a/thumbnailer/gnome-thumbnailer-skeleton.c -+++ a/thumbnailer/gnome-thumbnailer-skeleton.c -@@ -315,11 +315,15 @@ int main (int argc, char **argv) - #endif - g_free (input_filename); - -- if (!pixbuf) { -+ if (!pixbuf && error) { - g_warning ("Could not thumbnail '%s': %s", filenames[0], error->message); - g_error_free (error); - g_strfreev (filenames); - return 1; -+ } else if (!pixbuf) { -+ g_warning ("Could not thumbnail '%s'", filenames[0]); -+ g_strfreev (filenames); -+ return 1; - } - - if (gdk_pixbuf_save (pixbuf, output, "png", &error, NULL) == FALSE) { |