Commit 90aa4976 authored by Petri Hintukainen's avatar Petri Hintukainen

Log fragmented directory files

parent 9303baa3
...@@ -972,6 +972,9 @@ static struct udf_dir *_read_dir(udfread *udf, const struct long_ad *icb) ...@@ -972,6 +972,9 @@ static struct udf_dir *_read_dir(udfread *udf, const struct long_ad *icb)
} else if (fe->u.ads.num_ad == 0) { } else if (fe->u.ads.num_ad == 0) {
udf_error("empty directory file"); udf_error("empty directory file");
} else { } else {
if (fe->u.ads.num_ad > 1) {
udf_error("unsupported fragmented directory file\n");
}
dir = _read_dir_file(udf, &fe->u.ads.ad[0]); dir = _read_dir_file(udf, &fe->u.ads.ad[0]);
} }
......
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