components/libxml2/patches/02.globals-fix.patch
author Edwin Beasant <Edwin.Beasant@oracle.com>
Tue, 15 May 2012 19:48:50 +0100
changeset 815 e17805629856
parent 284 ca417a821aee
permissions -rw-r--r--
7168611 ksh93 in s11u1_15 and later invokes pfexec with garbage which breaks RBAC in some scenarios

--- libxml2-2.7.6/globals.c.fix	Tue Oct 13 20:13:06 2009
+++ libxml2-2.7.6/globals.c	Tue Oct 13 20:13:28 2009
@@ -46,7 +46,7 @@
  */
 void xmlInitGlobals(void)
 {
-    if (xmlThrDefMutex != NULL)
+    if (xmlThrDefMutex == NULL)
         xmlThrDefMutex = xmlNewMutex();
 }