summaryrefslogtreecommitdiffstats
path: root/CVE-2013-0900_umutex.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-20 10:37:10 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-20 10:37:10 +0100
commit6c5565b8d501c25466d2b3977d4156204cb4be10 (patch)
tree612b775a5478767a6a4520b5b527d86fcb60a488 /CVE-2013-0900_umutex.patch
icu: import from F18
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;
+