summaryrefslogtreecommitdiffstats
path: root/CVE-2013-0900_umutex.patch
diff options
context:
space:
mode:
Diffstat (limited to 'CVE-2013-0900_umutex.patch')
-rw-r--r--CVE-2013-0900_umutex.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/CVE-2013-0900_umutex.patch b/CVE-2013-0900_umutex.patch
new file mode 100644
index 0000000..82eced7
--- /dev/null
+++ b/CVE-2013-0900_umutex.patch
@@ -0,0 +1,12 @@
+diff -ruN icu.orig/source/common/locid.cpp icu/source/common/locid.cpp
+--- icu.orig/source/common/locid.cpp 2013-03-06 21:27:35.170696967 +0100
++++ icu/source/common/locid.cpp 2013-03-06 21:29:47.711378977 +0100
+@@ -53,7 +53,7 @@
+ static Locale *gLocaleCache = NULL;
+
+ // gDefaultLocaleMutex protects all access to gDefaultLocalesHashT and gDefaultLocale.
+-static UMutex gDefaultLocaleMutex = U_MUTEX_INITIALIZER;
++static UMTX gDefaultLocaleMutex = NULL;
+ static UHashtable *gDefaultLocalesHashT = NULL;
+ static Locale *gDefaultLocale = NULL;
+