Package: libxml-sax-writer-perl Version: 0.44-7 Severity: grave Justification: causes non-serious data loss
XML::SAX::Writer has an encoding feature which uses Text::Iconv to encode characters when writing them out to files. This is enabled by using the EncodeFrom/EncodeTo arguments to new(). Unfortunately it doesn't check the return code from the Text::Iconv::convert function, which can be undef. The result is that if Text::Iconv can't encode a character, this character (and potentially some characters around it) are dropped on the floor without an error message. An error can occur for instance if you have UTF8 input data and specify conversion to iso-8859-1, because not all UTF8 characters can be encoded in iso-8859-1. This is a serious bug because it can cause unnoticed data loss. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.10n Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages libxml-sax-writer-perl depends on: ii libtext-iconv-perl 1.4-2 converts between character sets in ii libxml-filter-buffertext-perl 1.01-4 Perl module for putting all charac ii libxml-namespacesupport-perl 1.09-2 Perl module for supporting simple ii libxml-sax-perl 0.12-5 Perl module for using and building ii perl 5.8.7-9 Larry Wall's Practical Extraction libxml-sax-writer-perl recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]