diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2020-06-24 11:05:16 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2020-06-24 11:05:16 +0000 |
commit | 6967d103216721a6b071a46a0c18cd35669f533e (patch) | |
tree | 0d71957b2a57464232b873aed11f5e90acf91a5f /print/cups | |
parent | 2f8c022e7c25e8e72dcb101eb884a043910c573b (diff) | |
download | ports-6967d103216721a6b071a46a0c18cd35669f533e.tar.gz ports-6967d103216721a6b071a46a0c18cd35669f533e.zip |
Fix the fix for CVE-2020-3898.
Notes
Notes:
svn path=/head/; revision=540026
Diffstat (limited to 'print/cups')
-rw-r--r-- | print/cups/Makefile | 1 | ||||
-rw-r--r-- | print/cups/files/patch-ppdc_ppdc-source.cxx | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile index 9f7dc7861223..0c016051fe8e 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -4,6 +4,7 @@ PORTNAME= cups PORTVERSION= 2.3.3 DISTVERSIONPREFIX=v +PORTREVISION= 1 CATEGORIES= print MAINTAINER= tijl@FreeBSD.org diff --git a/print/cups/files/patch-ppdc_ppdc-source.cxx b/print/cups/files/patch-ppdc_ppdc-source.cxx new file mode 100644 index 000000000000..2ebe64aa754e --- /dev/null +++ b/print/cups/files/patch-ppdc_ppdc-source.cxx @@ -0,0 +1,11 @@ +--- ppdc/ppdc-source.cxx.orig 2020-04-27 18:04:29 UTC ++++ ppdc/ppdc-source.cxx +@@ -1752,7 +1752,7 @@ ppdcSource::get_resolution(ppdcFile *fp)// I - File to + _cupsLangPrintf(stderr, + _("ppdc: Bad resolution name \"%s\" on line %d of " + "%s."), name, fp->line, fp->filename); +- break; ++ return (NULL); + } + + // Create the necessary PS commands... |