[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#565681: libxml-sablot-perl: Process() crashes due to incorrect parameter checking

Package: libxml-sablot-perl
Version: 1.0-2+b1
Severity: important

XML::Sablotron::Process currently always fails with the error message
4-th argument to SablotProcess has to be ARRAYREF
due to incorrect parameter checking.
My patch disables the incorrect error checking:

I was told that the check should look something like this instead:
if (!( SvROK(params) && (SvTYPE(params) == SVt_PVAV)))

Unfortunately the original author is currently unreachable, so it might
take months to get it fixed on CPAN.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxml-sablot-perl depends on:
ii  libc6                    2.7-18          GNU C Library: Shared libraries
ii  libexpat1                2.0.1-4+lenny3  XML parsing C library - runtime li
ii  libgcc1                  1:4.3.2-1.1     GCC support library
ii  libsablot0               1.0.3-1         an XSL processor fully implemented
ii  libstdc++6               4.3.2-1.1       The GNU Standard C++ Library v3
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.10. 5.10.0-19lenny2 minimal Perl system

libxml-sablot-perl recommends no packages.

libxml-sablot-perl suggests no packages.

-- no debconf information

Reply to: