aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/CVE-2019-8842.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/cups/CVE-2019-8842.patch')
-rw-r--r--main/cups/CVE-2019-8842.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/cups/CVE-2019-8842.patch b/main/cups/CVE-2019-8842.patch
new file mode 100644
index 00000000000..2e1a212239a
--- /dev/null
+++ b/main/cups/CVE-2019-8842.patch
@@ -0,0 +1,13 @@
+diff --git a/cups/ipp.c b/cups/ipp.c
+index b0762fd..dba4f31 100644
+--- a/cups/ipp.c
++++ b/cups/ipp.c
+@@ -2960,7 +2960,7 @@ ippReadIO(void *src, /* I - Data source */
+ * 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);