Heads-Up: Beware of xmlCleanupParser() when your package links against libxml2
Lennart Poettering
mzerqung at 0pointer.de
Wed Jan 13 02:03:00 UTC 2010
On Tue, 12.01.10 20:07, Tom Lane (tgl at redhat.com) wrote:
>
> Lennart Poettering <mzerqung at 0pointer.de> writes:
> > if you have code that links against libxml2 and calls
> > xmlCleanupParser() please verify that your project does that at the
> > appropriate place (i.e. immediately before exiting, and only once).
>
> Why exactly is this a misuse, and not libxml2's bug to fix? There's
> certainly nothing in their documentation suggesting that there's
> such a requirement.
http://xmlsoft.org/html/libxml-parser.html#xmlCleanupParser
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the devel
mailing list