Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |