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

Side by Side 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, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/icu/README.google ('k') | third_party/icu/source/common/putil.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: source/common/putil.c
2 ===================================================================
3 --- source/common/putil.c (revision 26673)
4 +++ source/common/putil.c (working copy)
5 @@ -849,6 +849,10 @@
6
7 /* Save the current path */
8 char curpath[MAX_PATH_SIZE];
9 +
10 + if (dirp == NULL)
11 + return result;
12 +
13 uprv_memset(curpath, 0, MAX_PATH_SIZE);
14 uprv_strcpy(curpath, path);
15
OLDNEW
« 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