Commit c88371c3 authored by Petri Hintukainen's avatar Petri Hintukainen

Add missing check for inline file

parent 9a7128a2
...@@ -845,7 +845,7 @@ static struct file_entry *_read_file_entry(udfread *udf, ...@@ -845,7 +845,7 @@ static struct file_entry *_read_file_entry(udfread *udf,
free(buf); free(buf);
/* read possible additional allocation extents */ /* read possible additional allocation extents */
if (fe) { if (fe && !fe->content_inline) {
while (fe->u.ads.num_ad > 0 && while (fe->u.ads.num_ad > 0 &&
fe->u.ads.ad[fe->u.ads.num_ad - 1].extent_type == ECMA_AD_EXTENT_AD) { fe->u.ads.ad[fe->u.ads.num_ad - 1].extent_type == ECMA_AD_EXTENT_AD) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment