Index: subversion/libsvn_subr/path.c
===================================================================
--- subversion/libsvn_subr/path.c	(revision 32499)
+++ subversion/libsvn_subr/path.c	(working copy)
@@ -954,6 +954,10 @@
   if (! path)
     return FALSE;
 
+  /* Nothing after the scheme. */
+  if (*path == '\0')
+    return FALSE;
+
   /* Skip to the first slash that's after the URI scheme. */
   path = strchr(path, '/');
 


