Bug fix: Prevented a memory fault when reading damaged Rock Ridge information

This commit is contained in:
Thomas Schmitt 2013-01-08 08:28:52 +01:00
parent 4ff777ee58
commit c5d8c26653
1 changed files with 2 additions and 0 deletions

View File

@ -430,6 +430,8 @@ int ifs_lstat(IsoFileSource *src, struct stat *info)
}
data = src->data;
if (data == NULL)
return ISO_NULL_POINTER;
*info = data->info;
return ISO_SUCCESS;
}