[xml/sgml-pkgs] Bug#815925: libxslt1.1: -maxvars parameter is not working on xsltproc

Miika Turkia miika.turkia at gmail.com
Thu Feb 25 19:20:59 UTC 2016

Package: libxslt1.1
Version: 1.1.28-2build2
Severity: normal
Tags: patch

Dear Maintainer,

-maxvars parameter on xsltproc is not working. The argument is not
skipped properly. Fix is available on upstream.

commit 5af7ad745323004984287e48b42712e7305de35c
Author: Per Hedeland <per at hedeland.org>
Date:   Fri Dec 13 14:43:06 2013 +0100

    Make --maxvars option work

diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index b22df37..66d8cbb 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -803,6 +803,10 @@ main(int argc, char **argv)
             (!strcmp(argv[i], "--maxdepth"))) {
+        } else if ((!strcmp(argv[i], "-maxvars")) ||
+            (!strcmp(argv[i], "--maxvars"))) {
+            i++;
+            continue;
         } else if ((!strcmp(argv[i], "-maxparserdepth")) ||
             (!strcmp(argv[i], "--maxparserdepth"))) {

-- System Information:
Debian Release: jessie/sid
  APT prefers wily-updates
  APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), (100, 'wily-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-27-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libxslt1.1 depends on:
ii  libc6              2.21-0ubuntu4.1
ii  libgcrypt20        1.6.3-2ubuntu1.1
ii  libxml2            2.9.2+zdfsg1-4ubuntu0.3
ii  multiarch-support  2.21-0ubuntu4.1

libxslt1.1 recommends no packages.

libxslt1.1 suggests no packages.

-- no debconf information

More information about the debian-xml-sgml-pkgs mailing list