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

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