1 Submitted By: Douglas R. Reno <renodr at linuxfromscratch dot org>
3 Initial Package Version: 1.1.33
4 Upstream Status: Applied
5 Origin: https://gitlab.gnome.org/GNOME/libxslt/commit/e03553605b45c88f0b4b2980adfbbb8f6fca2fd6
6 Description: Fixes CVE-2019-11068 in libxslt, a security framework
9 diff -Naurp libxslt-1.1.33.orig/libxslt/documents.c libxslt-1.1.33/libxslt/documents.c
10 --- libxslt-1.1.33.orig/libxslt/documents.c 2015-05-10 09:11:29.000000000 -0500
11 +++ libxslt-1.1.33/libxslt/documents.c 2019-07-05 13:08:13.976670506 -0500
12 @@ -296,10 +296,11 @@ xsltLoadDocument(xsltTransformContextPtr
15 res = xsltCheckRead(ctxt->sec, ctxt, URI);
17 - xsltTransformError(ctxt, NULL, NULL,
18 - "xsltLoadDocument: read rights for %s denied\n",
22 + xsltTransformError(ctxt, NULL, NULL,
23 + "xsltLoadDocument: read rights for %s denied\n",
28 @@ -372,10 +373,11 @@ xsltLoadStyleDocument(xsltStylesheetPtr
31 res = xsltCheckRead(sec, NULL, URI);
33 - xsltTransformError(NULL, NULL, NULL,
34 - "xsltLoadStyleDocument: read rights for %s denied\n",
38 + xsltTransformError(NULL, NULL, NULL,
39 + "xsltLoadStyleDocument: read rights for %s denied\n",
44 diff -Naurp libxslt-1.1.33.orig/libxslt/imports.c libxslt-1.1.33/libxslt/imports.c
45 --- libxslt-1.1.33.orig/libxslt/imports.c 2017-12-02 02:58:51.000000000 -0600
46 +++ libxslt-1.1.33/libxslt/imports.c 2019-07-05 13:08:32.201199584 -0500
47 @@ -130,10 +130,11 @@ xsltParseStylesheetImport(xsltStylesheet
50 secres = xsltCheckRead(sec, NULL, URI);
52 - xsltTransformError(NULL, NULL, NULL,
53 - "xsl:import: read rights for %s denied\n",
57 + xsltTransformError(NULL, NULL, NULL,
58 + "xsl:import: read rights for %s denied\n",
63 diff -Naurp libxslt-1.1.33.orig/libxslt/transform.c libxslt-1.1.33/libxslt/transform.c
64 --- libxslt-1.1.33.orig/libxslt/transform.c 2018-11-22 11:59:38.000000000 -0600
65 +++ libxslt-1.1.33/libxslt/transform.c 2019-07-05 13:09:00.994036330 -0500
66 @@ -3493,10 +3493,11 @@ xsltDocumentElem(xsltTransformContextPtr
68 if (ctxt->sec != NULL) {
69 ret = xsltCheckWrite(ctxt->sec, ctxt, filename);
71 - xsltTransformError(ctxt, NULL, inst,
72 - "xsltDocumentElem: write rights for %s denied\n",
76 + xsltTransformError(ctxt, NULL, inst,
77 + "xsltDocumentElem: write rights for %s denied\n",
82 diff -Naurp libxslt-1.1.33.orig/libxslt/xslt.c libxslt-1.1.33/libxslt/xslt.c
83 --- libxslt-1.1.33.orig/libxslt/xslt.c 2017-12-02 02:58:51.000000000 -0600
84 +++ libxslt-1.1.33/libxslt/xslt.c 2019-07-05 13:09:25.675754418 -0500
85 @@ -6763,10 +6763,11 @@ xsltParseStylesheetFile(const xmlChar* f
88 res = xsltCheckRead(sec, NULL, filename);
90 - xsltTransformError(NULL, NULL, NULL,
91 - "xsltParseStylesheetFile: read rights for %s denied\n",
95 + xsltTransformError(NULL, NULL, NULL,
96 + "xsltParseStylesheetFile: read rights for %s denied\n",