--- file.c.1.32	2003-08-08 10:32:49.000000000 -0700
+++ file.c	2003-08-08 10:44:47.000000000 -0700
@@ -125,7 +125,8 @@
      with a drive letter.
   */
   actual_path = real_path;
-  if (*actual_path == '/' &&
+  if ((*actual_path == '/') &&
+      (strlen(actual_path) >= 2) &&
       (actual_path[2] == ':' || actual_path[2] == '|'))
   {
     actual_path[2] = ':';

