From: Andrea LUCIANO (andrea.luciano@icteam.it)
Date: Tue Sep 28 1999 - 12:27:35 EDT
Compiling the following lines, and running the executable results in a core dump:
int size=0;
unsigned char *buffer=NULL;
xmlDocDumpMemory(doc,&buffer,&size);
fprintf(stderr,"%s\n",buffer);
free(buffer); // <----- a core dump!!!
fprintf(stderr,"xxxxxxx\n");
In libxml version 1.2 the same lines were OK. The problem arises calling the free on "buffer".
Andrea
---- Message from the list xml@rufus.w3.org Archived at : http://rufus.w3.org/veillard/XML/messages to unsubscribe: echo "unsubscribe xml" | mail majordomo@rufus.w3.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:47 EDT