*** parser.c.orig Thu May 13 15:01:11 1999 --- parser.c Thu May 13 15:09:50 1999 *************** *** 4575,4581 **** close(input); #endif ! buffer[buf.st_size] = '\0'; ctxt = (xmlParserCtxtPtr) malloc(sizeof(xmlParserCtxt)); if (ctxt == NULL) { --- 4575,4581 ---- close(input); #endif ! buffer[res] = '\0'; ctxt = (xmlParserCtxtPtr) malloc(sizeof(xmlParserCtxt)); if (ctxt == NULL) {