aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/CVE-2020-3898.patch
blob: d797a0be1a25fddf650959a3698cbbcf1eaba1d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cups/ppd.c b/cups/ppd.c
index 58d92c1..5bc7939 100644
--- a/cups/ppd.c
+++ b/cups/ppd.c
@@ -1730,8 +1730,7 @@ _ppdOpen(
                      constraint->choice1, constraint->option2,
 		     constraint->choice2))
       {
-        case 0 : /* Error */
-	case 1 : /* Error */
+        default : /* Error */
 	    pg->ppd_status = PPD_BAD_UI_CONSTRAINTS;
 	    goto error;