summaryrefslogtreecommitdiffstats
path: root/source/n/httpd/httpd-2.4.58-r1914013.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/httpd/httpd-2.4.58-r1914013.patch')
-rw-r--r--source/n/httpd/httpd-2.4.58-r1914013.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/n/httpd/httpd-2.4.58-r1914013.patch b/source/n/httpd/httpd-2.4.58-r1914013.patch
new file mode 100644
index 000000000..f9e078632
--- /dev/null
+++ b/source/n/httpd/httpd-2.4.58-r1914013.patch
@@ -0,0 +1,14 @@
+# ./pullrev.sh 1914013
+http://svn.apache.org/viewvc?view=revision&revision=1914013
+
+--- httpd-2.4.58/modules/filters/mod_xml2enc.c
++++ httpd-2.4.58/modules/filters/mod_xml2enc.c
+@@ -209,7 +209,7 @@
+
+ /* to sniff, first we look for BOM */
+ if (ctx->xml2enc == XML_CHAR_ENCODING_NONE) {
+- ctx->xml2enc = xmlDetectCharEncoding((const xmlChar*)ctx->buf,
++ ctx->xml2enc = xmlDetectCharEncoding((const unsigned char*)ctx->buf,
+ ctx->bytes);
+ if (HAVE_ENCODING(ctx->xml2enc)) {
+ ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, APLOGNO(01432)