Fix severe bug related with hidden el-torito catalog.

This commit is contained in:
Vreixo Formoso 2008-02-07 19:10:45 +01:00
parent a48ee8b5ee
commit 444689d163

View File

@ -2350,6 +2350,7 @@ int iso_image_import(IsoImage *image, IsoDataSource *src,
ret = ISO_OUT_OF_MEM; ret = ISO_OUT_OF_MEM;
goto import_revert; goto import_revert;
} }
node->type = LIBISO_BOOT;
node->mode = S_IFREG; node->mode = S_IFREG;
node->refcount = 1; node->refcount = 1;
image->bootcat->node = (IsoBoot*)node; image->bootcat->node = (IsoBoot*)node;