[xml/sgml-pkgs] Bug#276128: libxslt1: libxslt segfault with key() or id() function

Laurent Simonneau Laurent Simonneau <technique@alixen.fr>, 276128@bugs.debian.org
Tue, 12 Oct 2004 09:01:34 +0200


Package: libxslt1
Version: 1.1.8-4
Severity: normal

In my XSLT stylesheet I use :

 ...
 <xsl:apply-templates select="key('mykey', @ref)/*"/>
 ...

 If key('mykey', @ref) match nothing, libxslt segfault.
 I have the same bug with the id() function.

 I use libxslt through perl binding XML::LibXSLT.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages libxslt1 depends on:
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libxslt1.1                  1.1.8-4      XSLT processing library - runtime 

-- no debconf information