File cups-2.2.7-CVE-2019-8842.patch of Package cups.29369

--- cups/ipp.c.orig	2018-03-23 04:48:36.000000000 +0100
+++ cups/ipp.c	2021-01-11 10:53:43.080847679 +0100
@@ -3055,7 +3055,7 @@ ippReadIO(void       *src,		/* I - Data
             * Read 32-bit "extension" tag...
             */
 
-	    if ((*cb)(src, buffer, 4) < 1)
+	    if ((*cb)(src, buffer, 4) < 4)
 	    {
 	      DEBUG_puts("1ippReadIO: Callback returned EOF/error");
 	      _cupsBufferRelease((char *)buffer);
openSUSE Build Service is sponsored by