[SSSD] [PATCH] man: Substitute entity values for entity references

Lukas Slebodnik lslebodn at redhat.com
Thu May 29 07:49:34 UTC 2014


ehlo,

oneliner attached

Tested with epel6 in mock and ubuntu 14.04

LS
-------------- next part --------------
>From 1bab385227b25fd827098e17674aa4444bc4d4c4 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Thu, 29 May 2014 09:09:22 +0200
Subject: [PATCH] man: Substitute entity values for entity references

Validation of xml files failed with new version of libxml2 (CVE-2014-0191)

make[2]: Entering directory `/builddir/build/BUILD/sssd-1.9.2/src/man'
/usr/bin/xmllint --catalogs --postvalid --nonet --xinclude --noout sss_usermod.8.xml
sss_usermod.8.xml:4: element reference: validity error : No declaration for element reference
sss_usermod.8.xml:5: element title: validity error : No declaration for element title
---
 src/man/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/man/Makefile.am b/src/man/Makefile.am
index 58104dffc363448cf9c40765aae625e7b17b16eb..03caef2ee55689b82769e6b624e3dda619c50a93 100644
--- a/src/man/Makefile.am
+++ b/src/man/Makefile.am
@@ -31,7 +31,7 @@ CONDS = with_false$(SUDO_CONDS)$(AUTOFS_CONDS)$(SSH_CONDS)$(PAC_RESPONDER_CONDS)
 export SGML_CATALOG_FILES
 DOCBOOK_XSLT = @DOCBOOK_XSLT@
 DOCBOOK_XSLT ?= http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
-XMLLINT_FLAGS = --catalogs --postvalid --nonet --xinclude --noout
+XMLLINT_FLAGS = --catalogs --postvalid --nonet --noent --xinclude --noout
 XSLTPROC_FLAGS = --catalogs --xinclude --nonet
 
 if HAVE_PROFILE_CATALOGS
-- 
1.9.3



More information about the sssd-devel mailing list