diff options
| -rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch | 23 | ||||
| -rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch b/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch new file mode 100644 index 0000000000..aaedc88aa3 --- /dev/null +++ b/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | Upstream-Status: Backport | ||
| 2 | |||
| 3 | |||
| 4 | http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7406 | ||
| 5 | |||
| 6 | Hand applied change to util.c. Fix was for cups-filters but also applied to foomatic-filters. | ||
| 7 | |||
| 8 | CVE: CVE-2015-8327 | ||
| 9 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
| 10 | |||
| 11 | Index: util.c | ||
| 12 | =================================================================== | ||
| 13 | --- a/util.c | ||
| 14 | +++ b/util.c | ||
| 15 | @@ -31,7 +31,7 @@ | ||
| 16 | #include <assert.h> | ||
| 17 | |||
| 18 | |||
| 19 | -const char* shellescapes = "|;<>&!$\'\"#*?()[]{}"; | ||
| 20 | +const char* shellescapes = "|;<>&!$\'\"`#*?()[]{}"; | ||
| 21 | |||
| 22 | const char * temp_dir() | ||
| 23 | { | ||
diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb index 497d2bf357..3f439e7130 100644 --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb | |||
| @@ -18,6 +18,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca | |||
| 18 | SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz" | 18 | SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz" |
| 19 | 19 | ||
| 20 | SRC_URI += "file://CVE-2015-8560.patch \ | 20 | SRC_URI += "file://CVE-2015-8560.patch \ |
| 21 | file://CVE-2015-8327.patch \ | ||
| 21 | " | 22 | " |
| 22 | 23 | ||
| 23 | SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896" | 24 | SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896" |
