diff --git a/app/xcf/xcf-load.c b/app/xcf/xcf-load.c index cb2c87561f..bd853bc607 100644 --- a/app/xcf/xcf-load.c +++ b/app/xcf/xcf-load.c @@ -4782,7 +4782,7 @@ xcf_load_parasite (XcfInfo *info) return NULL; } - if (!name) + if (! name || strlen (name) == 0) { g_printerr ("Parasite has no name! Possibly corrupt XCF file.\n"); return NULL;