summaryrefslogtreecommitdiff
path: root/xsltproc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-06 22:52:10 -0800
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-06-22 14:20:37 +0900
commit0f3d43b0708f1e7a1a1826b2e4d310c86f086078 (patch)
treebe58f256e24304bccfdc6329d96567dcd6b8d877 /xsltproc
parenteffb43a066e70763fa89eb7142b7cb7b428694ad (diff)
downloadlibxslt-0f3d43b0708f1e7a1a1826b2e4d310c86f086078.tar.gz
libxslt-0f3d43b0708f1e7a1a1826b2e4d310c86f086078.tar.bz2
libxslt-0f3d43b0708f1e7a1a1826b2e4d310c86f086078.zip
Rebase for libxslt-1.1.29
Change-Id: I93c4e25d6fe05766a14630ccb146dcc7a63b6ea6 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'xsltproc')
-rw-r--r--xsltproc/xsltproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index 3c83abda..7567258a 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -572,7 +572,7 @@ main(int argc, char **argv)
sec = xsltNewSecurityPrefs();
xsltSetDefaultSecurityPrefs(sec);
- defaultEntityLoader = xmlGetExternalEntityLoader();
+ defaultEntityLoader = getenv("RPM_PACKAGE_NAME") ? xmlNoNetExternalEntityLoader : xmlGetExternalEntityLoader();
xmlSetExternalEntityLoader(xsltprocExternalEntityLoader);
for (i = 1; i < argc; i++) {