Blob Blame History Raw
diff -urNp old/app/xcf/xcf.c new/app/xcf/xcf.c
--- old/app/xcf/xcf.c	2017-04-30 23:47:39.000000000 +0200
+++ new/app/xcf/xcf.c	2018-01-04 11:56:31.399888783 +0100
@@ -318,7 +318,8 @@ xcf_load_invoker (GimpProcedure      *pr
         {
           info.file_version = 0;
         }
-      else if (id[9] == 'v')
+      else if (id[9] == 'v' &&
+               id[13] == '\0')
         {
           info.file_version = atoi (id + 10);
         }