Blame SOURCES/ghostscript-cve-2020-16295.patch

8d372f
diff --git a/devices/gdevclj.c b/devices/gdevclj.c
8d372f
index bed13bc..fe17ece 100644
8d372f
--- a/devices/gdevclj.c
8d372f
+++ b/devices/gdevclj.c
8d372f
@@ -254,7 +254,7 @@ clj_media_size(float mediasize[2], gs_param_list *plist)
8d372f
     gs_param_int_array hwsize;
8d372f
     int have_pagesize = 0;
8d372f
 
8d372f
-    if ( (param_read_float_array(plist, "HWResolution", &fres) == 0) &&
8d372f
+    if ( param_read_float_array(plist, "HWResolution", &fres) != 0 ||
8d372f
           !is_supported_resolution(fres.data) )
8d372f
         return_error(gs_error_rangecheck);
8d372f