Re: [xml] Possible bug in globals.c
- From: Daniel Veillard <veillard redhat com>
- To: Kai Henning <kai_henning web de>
- Cc: xml gnome org
- Subject: Re: [xml] Possible bug in globals.c
- Date: Mon, 12 Oct 2009 22:33:01 +0200
On Thu, Oct 08, 2009 at 01:03:01PM +0200, Kai Henning wrote:
IMO you should change in xmlInitGlobals()
if (xmlThrDefMutex != NULL)
to
if (xmlThrDefMutex == NULL)
because you must allocate memory when xmlThrDefMutex is NULL (from static initialization).
Damn, it's unbelieveable how much breackage happened around the thread
code recently, thanks for raising this !
Applied,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]