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

8d372f
diff --git a/base/gxblend.c b/base/gxblend.c
8d372f
index 7c3d55b..55215d6 100644
8d372f
--- a/base/gxblend.c
8d372f
+++ b/base/gxblend.c
8d372f
@@ -2174,7 +2174,7 @@ pdf14_compose_group(pdf14_buf *tos, pdf14_buf *nos, pdf14_buf *maskbuf,
8d372f
              overprint == 0) {
8d372f
              /* Additive vs Subtractive makes no difference in normal blend mode with no spots */
8d372f
         if (tos_isolated) {
8d372f
-            if (has_mask || maskbuf) {/* 7% */
8d372f
+            if (has_mask && maskbuf) {/* 7% */
8d372f
                 /* AirPrint test case hits this */
8d372f
                 if (maskbuf && maskbuf->rect.p.x <= x0 && maskbuf->rect.p.y <= y0 &&
8d372f
                     maskbuf->rect.q.x >= x1 && maskbuf->rect.q.y >= y1)