From e07c3ea3d69c8189d3bc528c255ee0fcdd27b152 Mon Sep 17 00:00:00 2001 From: thierry1970 Date: Wed, 30 Nov 2022 11:00:01 +0100 Subject: [PATCH] Fix infinite loop --- backend/pixma/pixma_mp150.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/pixma/pixma_mp150.c b/backend/pixma/pixma_mp150.c index fd9210cab..3f4a39466 100644 --- a/backend/pixma/pixma_mp150.c +++ b/backend/pixma/pixma_mp150.c @@ -2033,6 +2033,7 @@ pixma_add_custom_mp150_device (const char *name, if(strstr(capacity, ccaps[lcaps]) != NULL) { caps = caps | ucaps[lcaps]; } + lcaps++; } ddpi = atoi(dpi);