1.1 --- a/src/os/solaris/vm/os_solaris.cpp Fri Mar 29 14:18:40 2013 -0700 1.2 +++ b/src/os/solaris/vm/os_solaris.cpp Wed Apr 03 16:43:09 2013 -0700 1.3 @@ -1903,6 +1903,9 @@ 1.4 } else if (strchr(pname, *os::path_separator()) != NULL) { 1.5 int n; 1.6 char** pelements = split_path(pname, &n); 1.7 + if (pelements == NULL) { 1.8 + return false; 1.9 + } 1.10 for (int i = 0 ; i < n ; i++) { 1.11 // really shouldn't be NULL but what the heck, check can't hurt 1.12 if (pelements[i] == NULL || strlen(pelements[i]) == 0) {