Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1407)

Unified Diff: third_party/icu/patches/linuxtz.patch

Issue 257012: Work around a crash in putil.c in ICU (searchForTZFile).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/icu/README.google ('k') | third_party/icu/source/common/putil.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/icu/patches/linuxtz.patch
===================================================================
--- third_party/icu/patches/linuxtz.patch (revision 0)
+++ third_party/icu/patches/linuxtz.patch (revision 0)
@@ -0,0 +1,15 @@
+Index: source/common/putil.c
+===================================================================
+--- source/common/putil.c (revision 26673)
++++ source/common/putil.c (working copy)
+@@ -849,6 +849,10 @@
+
+ /* Save the current path */
+ char curpath[MAX_PATH_SIZE];
++
++ if (dirp == NULL)
++ return result;
++
+ uprv_memset(curpath, 0, MAX_PATH_SIZE);
+ uprv_strcpy(curpath, path);
+
« no previous file with comments | « third_party/icu/README.google ('k') | third_party/icu/source/common/putil.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698