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

Unified Diff: third_party/icu/source/common/putil.c

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/patches/linuxtz.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/icu/source/common/putil.c
===================================================================
--- third_party/icu/source/common/putil.c (revision 26673)
+++ third_party/icu/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/patches/linuxtz.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698