Package: libxml2 Version: 2.6.27.dfsg-1 Severity: important *** Please type your report below this line *** Opening an empty file makes libxml exit with segfault:
vapiIOconf.vpi:1: parser error : Extra content at the end of the document ^ ---------------------------------------------- Program has been terminated receiving signal 11 (Segmentation fault) to test, just touch a file and then try to open it: first: touch test.xml then compile the code presented with: gcc file.c -o xmlTest `pkg-config --libs --cflags libxml-2.0` then execute with ./xmlTest #include <libxml/xmlreader.h> int main() { xmlTextReader *xmlInput; xmlInput = xmlReaderForFile ("test.xml", "ISO-8859-1", XML_PARSE_DTDATTR | XML_PARSE_NOENT | XML_PARSE_DTDVALID); return 0; } -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-686 Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8) Versions of packages libxml2 depends on: ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages libxml2 recommends: ii xml-core 0.09-0.1 XML infrastructure and XML catalog -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]