From: Aleksey Sanin
> xmlRealloc() is realloc() eququivalent. And as far as I can remember,
> ANSI C realloc() MUST accept NULL pointer as first argument.
>
> Aleksey
So then this can be considered a libxml2 bug then?
xmlRealloc() passes through to xmlReallocLoc()
xmlReallocLoc(void *ptr,size_t size, const char * file, int line)
{
MEMHDR *p;
unsigned long number;
if (!xmlMemInitialized) xmlInitMemory();
if (ptr == NULL)
return(NULL);
.....
it bombs out at if(ptr == NULL)
Rob
_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec