diff --git a/src/util/storage_file.c b/src/util/storage_file.c index f1a445a56d75fc3f87fc32defe3e3bfd7694f434..b17187695b03656cd316750d8ce2d4bf9d22f099 100644 --- a/src/util/storage_file.c +++ b/src/util/storage_file.c @@ -479,7 +479,7 @@ virStorageFileMatchesVersion(int format, /* Validate version number info */ if (fileTypeInfo[format].versionOffset == -1) - return false; + return true; if ((fileTypeInfo[format].versionOffset + 4) > buflen) return false;