[xml] FYI libxml2 2.7.6 problem

I am on pclinuxos 2010 with libxml2 version 2.7.6.

synaptic & gnucash fail to start (sigsegv).

I am new to the code and don't understand much.

I think my problem is this line from xmlIO.c (function __xmlParserInputBufferCreateFilename):

context = xmlInputCallbackTable[i].opencallback(URI);

The open callbacks seem to return an opaque file descriptor (e.g.., a return from gzopen)

A few lines later the following line casts this fd to a (z_stream *) and the code gets a sigsegv:

cptr = (char *) ((z_stream *)context)->next_in;

This seems to be a cast of a FILE * to a z_stream *.

Thanks for your time.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]