Handle empty path as relative.
[shibboleth/cpp-xmltooling.git] / xmltooling / util / PathResolver.cpp
index c0f2c11..95a1eea 100644 (file)
@@ -78,6 +78,8 @@ void PathResolver::setCfgDir(const char* dir)
 bool PathResolver::isAbsolute(const char* s) const
 {
     switch (*s) {
+        case 0:
+            return false;
         case '/':
         case '\\':
             return true;